using System; using System.Linq; using System.Collections; using System.Collections.Generic; namespace Paiza { static class Problem { static void Main (string[] args) { int[] AB = Console.ReadLine().Split(' ').Select(int.Parse).ToArray(); int Ajm = AB[0] * 1000; int Bjm = AB[1] * 60 * 60; if (Ajm == Bjm) { Console.WriteLine("same"); } else { Console.WriteLine(Ajm < Bjm ? "blackyuki" : "KoD"); } } } }