for i in range(1000): print(i) if input()=="unlocked": break