#!/usr/bin/python import sys for i in xrange(1000): print '{:03}'.format(i) sys.stdout.flush() res = raw_input() if res == 'unlocked': break