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