n=io.read("*n","*l")
a={}
b={}
for i=1,n do
    a[i]=io.read("*n")
end
for i=1,n do
    b[i]=io.read("*n")
end

counter=0
for i=1,n do
    if a[i]<b[i] then
        counter=counter+(b[i]-a[i])//2
    else
        counter=counter-(a[i]-b[i])
    end
end

if counter<0 then
    print("No")
else
    print("Yes")
end