#include <iostream>
using namespace std;
int main()
{
	int n;
	cin >> n;
	int a[10000];
	int b[10000];
	for (int i = 0; i < n; i++)
	{
		cin >> a[i];

	}
	for (int i = 0; i < n; i++)
	{
		cin >> b[i];
	}
	long long sum = 0;

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

	}
	if(sum >= 0)
	{
		cout << "Yes" << endl;

	}else
	{
		cout << "No" << endl;
	}
	return 0;
}