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