num_list = input().split(' ') a = int(num_list[0]) b = int(num_list[1]) a = a / 60 / 60 * 1000 if a > b: print('KoD') elif a < b: print('blackyuki') else: print('same')