n = 0 while True: print('{0:03d}'.format(n)) n += 1 if input() == 'unlocked': break