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