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

int main() {
    int n; cin >> n;
    vector<int> a[2];
    for (int t = 0; t < 2; t++) {
        a[t].resize(n);
        for (int i = 0; i < n; i++) 
            cin >> a[t][i];
    }
    long long bal = 0;
    for (int i = 0; i < n; i++) {
        auto d = a[0][i]-a[1][i];
        if (d > 0) bal -= d;
        if (d < 0) bal += (-d)/2;
    }
    cout << (bal >= 0 ? "Yes" : "No") << endl;
    return 0;
}
