Kazitsyna T.v.

Borya and Misha are traveling by train and counting the poles outside the window: "one, two, ...". Borya cannot pronounce the letter "R", so he skips numbers that contain the letter "R" and immediately says the next number without the letter "R". Misha cannot pronounce the letter "SH", so he skips numbers that contain the letter "SH". Borya's last pole was numbered "one hundred". What number did this pole get from Misha?
Borya pronounces numbers that do not contain the digits 3 and 4 - among the first hundred numbers, there are $(10-2)^{2}=64$ such numbers (there are 8 options for both the tens and units digits), so in fact, there were 64 poles.

Misha skips numbers that contain the digit 6 in their notation. Therefore, after counting to 59, he will skip 6 numbers - so he will have to count another $64-(59-6)=11$ poles. Counting these 11 poles, Misha will skip all numbers from 60 to 69, as well as the number 76. As a result, the last pole will receive the number $69+11$ $+1=81$.

## Answer

81.