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