contestada

In a certain country, a telephone number consists of 6 digits with the restriction that the first digit cannot be 0 or 3. Repetition of digits is permitted. How many distinct telephone numbers are possible?