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

typedef long long ll;

int main()
{
    int N;
    int A[10005];
    ll add = 0, sub = 0;

    cin >> N;
    for(int i = 0; i < N; i++) cin >> A[i];
    for(int i = 0; i < N; i++) {
        int B;
        cin >> B;
        if(B > A[i]) add += (B - A[i]) / 2;
        if(A[i] > B) sub += A[i] - B;
    }
    if(add >= sub) cout << "Yes" << endl;
    else cout << "No" << endl;

    return (0);
}
