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