http://codeforces.com/gym/101411/attachments
Problem H. Hotel in Ves Lagos
Input le: hotel.in
Output le: hotel.out
Time limit: 1 second
Memory limit: 256 megabytes
A new hotel is being built in the city of Ves Lagos. The hotel will have an in finite number of rooms(it is out of fashion to build hotels with fi nite numbers of rooms). The new hotel also tries to cater for superstitious guests.
The most common superstition in Ves Lagos is that the number 13 brings bad luck. Accordingly, only numbers whose decimal forms do not contain the substring \13" will be used to label the rooms in the ne