# coding:utf-8 def main(): for i in range(1000): print(i) if input() == 'unlocked': break main()