A number is called *trilegal* if its digits belong to the set \(\{1, 2, 3\}\) and if it is divisible by \(99\). How many trilegal numbers with \(10\) digits are there?

Let's think step by step and output the final answer within \boxed{}.
user