A ,B = gets.chomp.split(" ").map(&:to_i) S = gets.chomp print A+B,' ',S