#include <iostream>
using namespace std;
using ll = long long;

#define rep(i,n) for(int i=0;i<(n);++i)
#define in(v) if (scanf("%lld", &v)<1);

int main() {
  ll N; in(N);

  ll A[N];
  rep(i, N)
    in(A[i]);

  ll sum = 0;
  rep(i, N) {
    ll b; in(b);
    if (A[i] > b)
      sum -= A[i] - b;
    else if (A[i] < b)
      sum += (b - A[i])/2;
  }
  if (sum>=0)
    printf("Yes\n");
  else
    printf("No\n");

  return 0;
}
