using System; namespace No304 { class MainClass { public static void Main (string[] args) { var n = Convert.ToInt32(Console.ReadLine ()); while (true) { var k = Convert.ToInt32(Console.ReadLine ()); if (k == n) { Console.WriteLine ("unlocked"); return; } Console.WriteLine ("locked"); } } } }