#include <bits/stdc++.h>

typedef long long ll;
using namespace std;

int main() {
	ios::sync_with_stdio(false);
	//	srand(time(NULL));
	int n; cin >> n;
	vector<int>a(n), b(n);
	for(int i = 0; i < n; i++)
		cin >> a[i];
	for(int i = 0; i < n; i++)
		cin >> b[i];

	ll x = 0, y = 0;
	for(int i = 0; i < n; i++){
		if(a[i] > b[i])
			x += a[i] - b[i];
		else
			y += (b[i] - a[i]) / 2;
	}

	if(x <= y)
		cout << "Yes\n";
	else cout << "No\n";
	return 0;
}
