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

int main(){
  int N;
  cin>>N;
  vector<int64_t> a(N),b(N);
  for(int i=0;i<N;++i) cin>>a[i];
  for(int i=0;i<N;++i) cin>>b[i];
  int64_t cnt=0;
  for(int i=0;i<N;++i){
    if(a[i]<b[i]) cnt += (b[i]-a[i])/2;
    else cnt -= (a[i]-b[i]);
  }

  if(cnt>=0) cout<<"Yes"<<endl;
  else cout<<"No"<<endl;
}