using System; using System.Linq; using System.Collections.Generic; public class yukicoder { public static void Main() { int cnt = 0; while(true) { Console.WriteLine(string.Format("{0:D3}", cnt)); if(Console.ReadLine() == "unlocked") break; cnt ++; } } }