import std.stdio;
import std.conv;
import std.algorithm;
import std.string;

void main()
{
    auto n = readln.chomp.to!(long);
    auto a = readln.split.to!(long[]);
    auto b = readln.split.to!(long[]);

    ulong d = 0;
    ulong p = 0;
    for(int i; i < n; i++) {
        if (a[i] > b[i])
            d += (a[i] - b[i]);
        else
            p += (b[i] - a[i]);
    }

    if (d * 2 > p) {
        "No".writeln;
        return;
    }
    "Yes".writeln;
}