KoD,blackyuki=map(int,input().split()) if A>B: print("KoD") elif B>A: print("blackyuki") else: print("same")