n=int(eval(input()))

a=list(map(int,input().split()))

b=list(map(int,input().split()))



cnt1=0

cnt2=0

ma=sum(b)-sum(a)

if ma<0:

    print("No")

    exit()



for i in range(n):

    if b[i]<=a[i]:

        cnt1+=a[i]-b[i]

    else:

        if (b[i]-a[i])%2==0:

            cnt2+=(b[i]-a[i]+1)//2

        else:

            cnt2+=(b[i]-a[i]+1)//2

            cnt1+=1

#print(cnt1,cnt2)

if cnt1>ma or cnt2>ma:

    print("No")

else:

    print(("Yes" if (ma-cnt2)*2==ma-cnt1 else "No"))

n=int(eval(input()))

a=list(map(int,input().split()))

b=list(map(int,input().split()))



cnt=0

for i in range(n):

    if a[i]<b[i]:

        cnt+=(b[i]-a[i])//2

    else:

        cnt-=a[i]-b[i]



if cnt<0:

    print("No")

else:

    print("Yes")

    

n = int(eval(input()))
a = list(map(int, input().split()))
b = list(map(int, input().split()))
cnt1 = 0
cnt2 = 0
ma = sum(b) - sum(a)
if ma < 0:
    print("No")
    exit()
for i in range(n):
    if b[i] <= a[i]:
        cnt1 += a[i] - b[i]
    else:
        if (b[i] - a[i]) % 2 == 0:
            cnt2 += (b[i] - a[i] + 1) // 2
        else:
            cnt2 += (b[i] - a[i] + 1) // 2
            cnt1 += 1
# print(cnt1,cnt2)
if cnt1 > ma or cnt2 > ma:
    print("No")
else:
    print(("Yes" if (ma - cnt2) * 2 == ma - cnt1 else "No"))

n = int(eval(input()))
a = list(map(int, input().split()))
b = list(map(int, input().split()))
cnt = 0
for i in range(n):
    if a[i] < b[i]:
        cnt += (b[i] - a[i]) // 2
    else:
        cnt -= a[i] - b[i]
if cnt < 0:
    print("No")
else:
    print("Yes")

-cnt1 = 0 -cnt2 = 0 -ma = sum(b) - sum(a) -if ma < 0: -    print("No") -    exit() +cnt = 0 -    if b[i] <= a[i]: -        cnt1 += a[i] - b[i] +    if a[i] < b[i]: +        cnt += (b[i] - a[i]) // 2 -        if (b[i] - a[i]) % 2 == 0: -            cnt2 += (b[i] - a[i] + 1) // 2 -        else: -            cnt2 += (b[i] - a[i] + 1) // 2 -            cnt1 += 1 -# print(cnt1,cnt2) -if cnt1 > ma or cnt2 > ma: +        cnt -= a[i] - b[i] +if cnt < 0: -    print(("Yes" if (ma - cnt2) * 2 == ma - cnt1 else "No")) +    print("Yes")