A=int(input()) B=int(input()) x=A*1000/3600 if x>B: print("KoD") elif B>x: print("blackyuki") else: print("same")