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