a,b = map(int,input().split()) B = b * 3600 A = a * 1000 if A > B: print('Kod') elif A == B: print('same') else: print('blackyuki')