cnt = 0 while True: print('{:03d}'.format(cnt)) if input().strip() == 'unlocked': exit()