for i in range(0,1000): print(f"{i:03}") t=input() if t == 'unlocked': break