#include <bits/stdc++.h>

using namespace std;

int main(){
 long n; 
  cin >> n;
 
  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];
  
  long res=0;
  for(int i=0;i<n;i++){ 
    res+=(b[i]-a[i]);
    if(b[i]>a[i]) res-=(b[i]-a[i]+1)/2;
  }
  
  if(res>=0) cout << "Yes" << endl;
  else cout << "No" << endl;
  
}