#include <bits/stdc++.h>
#define rep(i,n)for(int i=0;i<(n);i++)
using namespace std;
#define int long long

int a[20000],b[20000];
signed main(){
	int n;scanf("%lld",&n);
	rep(i,n)scanf("%lld",&a[i]);
	rep(i,n)scanf("%lld",&b[i]);
	int d=0,cnt=0;
	rep(i,n){
		if(a[i]>b[i]){
			d+=a[i]-b[i];
		}
		else if(a[i]<b[i]){
			cnt+=(b[i]-a[i])/2;
		}
	}
	if(d>cnt){
		puts("No");
	}
	else puts("Yes");
}