import sys

def main():

    input = sys.stdin.readline

    N=int(eval(input()))

    *A,=list(map(int, input().split()))

    *B,=list(map(int, input().split()))



    asum=sum(A)

    bsum=sum(B)

    asmall=0

    bsmall=0

    for a,b in zip(A,B):

        asmall+=(max(0, b-a)+1)//2

        bsmall+=max(0, a-b)

    t=bsum-asum

    print(('Yes' if t>=max(asmall,bsmall) else 'No'))



if __name__ == '__main__':

    main()
import sys

def main():

    input = sys.stdin.readline

    N=int(eval(input()))

    *A,=list(map(int, input().split()))

    *B,=list(map(int, input().split()))



    opa=opb=0

    for a,b in zip(A,B):

        if a>=b:

            opb+=a-b

        else:

            if (b-a)&1==0:

                opa+=(b-a)//2

            else:

                opa+=(b-a)//2 + 1

                opb+=1



    print(('Yes' if opa>=opb else 'No'))



if __name__ == '__main__':

    main()
import sys


def main():
    input = sys.stdin.readline
    N = int(eval(input()))
    (*A,) = list(map(int, input().split()))
    (*B,) = list(map(int, input().split()))
    asum = sum(A)
    bsum = sum(B)
    asmall = 0
    bsmall = 0
    for a, b in zip(A, B):
        asmall += (max(0, b - a) + 1) // 2
        bsmall += max(0, a - b)
    t = bsum - asum
    print(("Yes" if t >= max(asmall, bsmall) else "No"))


if __name__ == "__main__":
    main()

import sys


def main():
    input = sys.stdin.readline
    N = int(eval(input()))
    (*A,) = list(map(int, input().split()))
    (*B,) = list(map(int, input().split()))
    opa = opb = 0
    for a, b in zip(A, B):
        if a >= b:
            opb += a - b
        else:
            if (b - a) & 1 == 0:
                opa += (b - a) // 2
            else:
                opa += (b - a) // 2 + 1
                opb += 1
    print(("Yes" if opa >= opb else "No"))


if __name__ == "__main__":
    main()

-    asum = sum(A) -    bsum = sum(B) -    asmall = 0 -    bsmall = 0 +    opa = opb = 0 -        asmall += (max(0, b - a) + 1) // 2 -        bsmall += max(0, a - b) -    t = bsum - asum -    print(("Yes" if t >= max(asmall, bsmall) else "No")) +        if a >= b: +            opb += a - b +        else: +            if (b - a) & 1 == 0: +                opa += (b - a) // 2 +            else: +                opa += (b - a) // 2 + 1 +                opb += 1 +    print(("Yes" if opa >= opb else "No"))