i = 0 while True: print str(i).zfill(3) flag = raw_input() if flag == "unlocked": exit() i += 1