def main(): n = 0 s = 'locked' while s == 'locked': print(str(n).zfill(3)) n += 1 s = input() main()