a, b = gets.split.map(&:to_i) s = gets.to_s puts "#{a + b} #{s}"