import java.io.*; import java.util.*; import java.math.*; class Main { public static void out (Object o) { System.out.println(o); } public static void main (String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while (true) { String s = br.readLine(); if (s.equals(args[0])) { out("unlocked"); break; } else { out("locked"); } } } }