#include<cstdio>

#define ran 10111

int n;
int a[ran], b[ran];

int main() {
	scanf("%d", &n);
	for(int i=1;i<=n;i++) scanf("%d", &a[i]);
	for(int i=1;i<=n;i++) scanf("%d", &b[i]);
	
	long long todo = 0LL, offer = 0LL;
	for(int i=1;i<=n;i++) {
		if (a[i] > b[i]) todo += a[i]-b[i];
		else offer += (b[i]-a[i])/2;
	}
	puts(todo <= offer ? "Yes" : "No");
	
	return 0;
}