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