from collections import * from itertools import * from functools import * from heapq import * import sys,math input = sys.stdin.readline A,B = map(int,input().split()) B *= 60*60 A *= 1000 if A>B: print('KoD') elif A==B: print('same') else: print('blackyuki')