#yuki_304 for i in xrange(1000): print "03d" % i if raw_input()=="unlocked": break