#include <stdio.h>
typedef long long int ll;
ll arr1[10000];
ll arr2[10000];
ll diff[10000];
ll N;
ll a = 0, b = 0;
int main() {
	scanf("%lld", &N);
	for (ll i = 0; i < N; ++i) {
		scanf("%lld", &arr1[i]);
	}
	for (int i = 0; i < N; ++i) {
		scanf("%lld", &arr2[i]);
		diff[i] = arr1[i] - arr2[i];
		if (diff[i] < 0) a+=(diff[i]*-1)/2;
		else b += diff[i];
	}
	if (a < b) printf("No");
	else printf("Yes");

}