[UVA] 11970 - Lucky Numbers
T — Lucky Numbers
Time Limit: 1 sec
Memory Limit: 32 MB
Every person has its own numbers that he considers lucky. Usually the
numbers are fixed like 3 or 7 and do not depend on anything. This lucky
number model seems to be very primitive for John, so h...