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