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