A=int(input()) B=int(input()) if A>B: print('KoD') if B>A: print('blackyuki') if A==B: print('same')