import strformat

var n = 0

while n <= 999:
    echo &"{n:03}"
    if stdin.readLine == "unlocked": quit()
    inc n