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