a,b = gets.split s = gets.chomp n = a.to_i + b.to_i p n.to_s + " " + s