#include <bits/stdc++.h>

using namespace std;

int n;
int a[10004];
int b[10004];

int main(void) {
    ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
    cin >> n;
    for (int i = 0; i < n; ++i) cin >> a[i];
    for (int i = 0; i < n; ++i) cin >> b[i];
    long long need = 0, tot = 0;
    for (int i = 0; i < n; ++i) need += max(0, (b[i] - a[i] + 1) / 2), tot += b[i] - a[i];
    cout << (need > tot ? "No" : "Yes") << endl;
}
