Ulta Masud

Limits 1s, 512 MB

Mr. Masud is a superstitious executive of an administrative office in Wadia, and you have to bribe him to provide you with certain services. But the problem is, his superstitions are always a bit unconventional. That is the reason he is popularly known as "Ulta Masud." Usually, people consider the number 7 as lucky. But being an unconventional guy, Masud considers this an unlucky digit. So in his bribe invoices, he maintains all the transaction amounts in a manner where he doesn't use the number 7 at all. So he counts numbers like this: 0, 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, …

This is a companion discussion topic for the original entry at https://toph.co/p/ulta-masud