import sys for i in xrange(1000): print '%3d'%i sys.stdout.flush() if raw_input() == 'unlocked': print '%3d'%i sys.stdout.flush() break