cnt=0 response="locked" while response!="unlocked" and cnt < 1000: print(str(cnt).zfill(3)) cnt+=1 response=input()