#include<cstdio>
#include<algorithm>
#define N 100000
using namespace std;
int n;
int a1[N+5],a2[N+5];
long long s1,s2;
int main()
{
	scanf("%d",&n);
	for(int i=1;i<=n;i++)
		scanf("%d",&a1[i]);
	for(int i=1;i<=n;i++)
		scanf("%d",&a2[i]);
	for(int i=1;i<=n;i++)
	{
		if(a1[i]<a2[i])
		{
			int x=a2[i]-a1[i];
			s1+=x/2;
		}
		else
			s2+=a1[i]-a2[i];
	}
	if(s2<=s1)
		printf("Yes\n");
	else
		printf("No\n");
}