#include <bits/stdc++.h>
using namespace std;

typedef long long ll;

const int MAXN = 1e4 + 5;

int N;
int a[MAXN], b[MAXN];
ll sum, mn;

int main() {
	scanf("%d", &N);
	for (int i = 0; i < N; i++)
		scanf("%d", a + i);
	for (int i = 0; i < N; i++)
		scanf("%d", b + i);
	
	for (int i = 0; i < N; i++) {
		int c = b[i] - a[i];
		sum += c;
		if (c > 0)
			mn += (c - 1) / 2 + 1;
	}
	
	puts(mn <= sum ? "Yes" : "No");
	
	return 0;
}