#include <bits/stdc++.h>

using namespace std; 	
typedef long long ll;
typedef unsigned long long ull;
const int N = 1e4+50;
const int oo = 1e9;
const int mod = 1e5;

ll a[N];
int main(){
	ll n;
	cin>>n;
	for(int i=0;i<n;i++)
		cin>>a[i];
	ll f=0,s=0;
	for(int i=0;i<n;i++){ 
		ll b;
		cin>>b;
		if(a[i]-b > 0){
			f += a[i]-b;
		}else{
			if((b-a[i])%2)f++;
			s += ceil((b-a[i])/2.0);
		}
	}
	cout << (f>s?"No":"Yes") << endl;
}