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}", 0)); if(Console.ReadLine() == "locked") cnt ++; else break; } } }