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