Problem
The distance between two villages equals kilometres. When you go from one village to the other, every kilometre you see a sign on the road, saying . The signs show the distances to the two villages. Find the number of signs that contain only two different digits. For example, the sign contains only two digits, namely and , whereas the sign contains three digits, namely , and .