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