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