How many base-10 integers are exactly 4 digits in their base-3 representation and exactly 2 digits in their base-6 representation?

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