using System; using static System.Console; using System.Linq; using System.Collections.Generic; class Program { static int NN => int.Parse(ReadLine()); static int[] NList => ReadLine().Split().Select(int.Parse).ToArray(); static void Main() { var c = NList; var a = c[0] * 1000L; var b = c[1] * 3600L; if (a > b) WriteLine("KoD"); else if (a < b) WriteLine("blackyuki"); else WriteLine("same"); } }