a,b = gets.split(' ').map(&:to_i) s = gets print a + b , ' ' , s