inputs = Array.new
while line = $stdin.gets
  inputs << line.chomp
end

N = inputs[0]
Vs = inputs[1].split(" ").map(&:to_i)
Cs = inputs[2].split(" ").map(&:to_i)

res = [Vs, Cs].transpose.sum do |v, c|
  val = v - c
  if val > 0
    val
  else
    0
  end
end

puts res