#include <iostream>
using namespace std;

long x, y;

int main() {
    int N, A[10010], B; cin >> N;
    for(int i=0; i<N; ++i) cin >> A[i];
    for(int i=0; i<N; ++i){
        cin >> B;
        if(A[i]>=B) y += A[i]-B;
        else{
            x += (B-A[i]+1)/2;
            y += (B-A[i])%2;
        }
    }
    if(x<y) cout << "No" << endl;
    else cout << "Yes" << endl;
	return 0;
}
