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