# A B の値を文字列で受け取る a, b = gets.chomp.split a_km = a.to_i b_km = b.to_i * 60 * 60 / 1000 if a_km > b_km puts "Kod" elsif a_km < b_km puts "blackyuki" else puts "same" end