#include <bits/stdc++.h>
#define int long long
using namespace std;

signed main(){
  int N;
  cin>>N;
  std::vector<int> a(N),b(N);
  for(int i=0;i<N;i++)cin>>a[i];
  for(int i=0;i<N;i++)cin>>b[i];
  int am=0;
  int bm=0;
  for(int i=0;i<N;i++){
    if(a[i]>b[i])am+=a[i]-b[i];
    else bm+=(b[i]-a[i])/2;
  }
  if(bm>=am)cout<<"Yes"<<endl;
  else cout<<"No"<<endl;
}
