for i in range(0, 1000): if i < 10: print "00" + str(i) if 10 <= i < 100: print "0" + str(i) if 100 <= i < 1000: print i aaa =raw_input() if aaa == "unlocked": break