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