N = gets.to_i
A = gets.split.map(&:to_i)
B = gets.split.map(&:to_i)

limit = B.inject(:+) - A.inject(:+)
cnt1 = 0
cnt2 = 0

A.zip(B).each do |a, b|
  next if a == b

  if a > b
    cnt1 += a - b
  else
    cnt2 += ((b - a) / 2.0).ceil
  end
end

if cnt1 + cnt2 <= limit
  puts 'Yes'
else
  puts 'No'
end
