a, b = gets.chomp.split a_km = a.to_i b_km = b.to_i * 60 * 60 / 1000 if a_km == b_km puts "same" elsif a_km > b_km puts "Kod" else puts "blackyuki" end