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

int main(){
int N; cin >> N;
  vector<int> A(N); vector<int> B(N);
  for(int i = 0; i < N; i++){ cin >> A[i];}
  for(int j = 0; j < N; j++){ cin >> B[j];}
  
  ll res1 = 0; ll res2  =0;
  
  for(int i = 0; i < N; i++){ res1 += max(0,A[i]-B[i]); res2 += max( 0, (B[i]-A[i])/2);}
  
  if( res1 <= res2){ cout << "Yes" << endl;} else{ cout << "No" << endl;}
  return 0;}