#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
int main(){
  ll n;cin>>n;
  ll a[n],b[n];
  ll sa=0,sb=0;
  ll d=0;
  for(ll i=0;i<n;i++){
    cin>>a[i];
    sa+=a[i];
  }
  ll e=0;
  for(ll i=0;i<n;i++){
    cin>>b[i];
    sb+=b[i];
    d+=max((ll)0,a[i]-b[i]);
    if(b[i]>a[i])e+=(b[i]-a[i])%2;
  }
  if(sa>sb){
    cout<<"No"<<endl;
    return 0;
  }
  if(sb-sa<d+e){
    cout<<"No"<<endl;
    return 0;
  }
  cout<<"Yes"<<endl;
}