#include<bits/stdc++.h>
#define ll long long
#define N 10005
using namespace std;
ll n,a[N],b[N],s;
int main()
{
	scanf("%lld",&n);
	for(int i=1;i<=n;i++) scanf("%lld",&a[i]), s-=a[i];
	for(int i=1;i<=n;i++) scanf("%lld",&b[i]), s+=b[i];
	if(s<0) return puts("No"), 0;
	for(int i=1;i<=n;i++)
	{
		if(a[i]<b[i])
		{
			s-=(b[i]-a[i]+1)/2;
			if(s<0) return puts("No"), 0;
		}
	}
	puts("Yes");
}