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