import sys for i in range(1000): a=1000+i A=str(a)[1:] print(A) S=input() if S=="unlocked": sys.stdout.flush() exit() else: sys.stdout.flush()