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