a, b = read_line.split.map(&.to_i64) a *= 1000 b *= 3600 puts(if a == b "same" elsif a < b "blackyuki" else "KoD" end)