using System; using System.Linq; class Program { static void Main(string[] args) { for (int i = 0; i <= 999; i++) { Console.WriteLine("{0:000}",i); if (Console.ReadLine() == "unlocked") { break; } } } }