#include <stdio.h>
#include <math.h>
#include <string.h>
#include <stdlib.h>
int main ()
{
	int a[10001],b[10001],n,m,i,j,t,sum1=0,sum2=0;
	scanf ("%d",&n);
	for (i=0;i<n;i++) scanf ("%d",&a[i]);
	for (i=0;i<n;i++) scanf ("%d",&b[i]);
	for (i=0;i<n;i++)
	{
		if (a[i]<b[i]) sum1+=b[i]-a[i];
		else sum2+=a[i]-a[i];
	}
	if (sum2>=sum1*2) printf ("Yes\n");
	else printf ("No\n");
	return 0;
}