#include <bits/stdc++.h>

using namespace std;

int n;
int a[10004], b[10004];
long long c1, c2;
signed main() {
	ios::sync_with_stdio(false); cin.tie(0);
	cin >> n;
	c1 = c2 = 0;
	for (int i = 1; i <= n; i++) {
		cin >> a[i];
	}
	for (int i = 1; i <= n; i++) {
		cin >> b[i];
	}
	for (int i = 1; i <= n; i++) {
		if (a[i] < b[i]) {
			c1 += (b[i] - a[i])/2;
		}
		else {
			c2 += a[i] - b[i];
		}
	}
	if (c1 < c2) cout << "No"; else cout << "Yes";
}