import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); String ans = scan.next(); boolean flag = true; while(flag) { String t = scan.next(); if(t.equals(ans)) { System.out.println("unlocked"); flag = false; }else { System.out.println("locled"); } } scan.close(); } }