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