A,B=gets.chomp.split(' ').map(&:to_i) N=A+B S=gets.chomp puts "#{N} #{S}"