import java.util.Scanner; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); long a = sc.nextInt(); long b = sc.nextInt(); sc.close(); a *= 1000; b *= 3600; if (a == b) { System.out.println("same"); } else if (a > b) { System.out.println("KoD"); } else { System.out.println("blackyuki"); } } }