#include <iostream>
#define llint long long

using namespace std;

llint N;
llint a[10005], b[10005];

int main(void)
{
	cin >> N;
	for(int i = 1; i <= N; i++) cin >> a[i];
	for(int i = 1; i <= N; i++) cin >> b[i];
	
	llint lcnt = 0, ucnt = 0;
	for(int i = 1; i <= N; i++){
		if(a[i] > b[i]) lcnt += a[i] - b[i];
		if(a[i] < b[i]) ucnt += (b[i] - a[i]) / 2;
	}
	
	if(ucnt >= lcnt) cout << "Yes" << endl;
	else cout << "No" << endl;
	
	return 0;
}