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