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