#include<stdio.h>

int main() {
	int n, a[10005], b[10005], i;
	long long count1, count2;
	while(scanf("%d",&n)!=EOF) {
		count1 = 0, count2 = 0;
		for(i=0;i<n;i++) {
			scanf("%d",&a[i]);
		}
		for(i=0;i<n;i++) {
			scanf("%d",&b[i]);
			if(b[i]<a[i]) {
				count1 += a[i]-b[i];
			}
			else count2 += (b[i]-a[i])/2;
		}
//		printf("%d %d\n",count1,count2);
		if(count2>=count1) printf("Yes\n");
		else printf("No\n");
	}
}