# APC001B - Two Arrays

import sys



input = sys.stdin.readline





def main():

    n = int(eval(input()))

    A = tuple(map(int, input().split()))

    B = tuple(map(int, input().split()))

    cnt = 0

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

        if a > b:

            cnt += a - b

        else:

            cnt -= (b - a) // 2

    print(("Yes" if cnt <= 0 else "No"))





if __name__ == "__main__":

    main()
# APC001B - Two Arrays

def main():

    N, *AB = list(map(int, open(0).read().split()))

    A, B = AB[:N], AB[N:]

    cnt = 0

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

        if a > b:

            cnt += a - b

        else:

            cnt -= (b - a) // 2

    print(("Yes" if cnt <= 0 else "No"))





if __name__ == "__main__":

    main()
# APC001B - Two Arrays
import sys

input = sys.stdin.readline


def main():
    n = int(eval(input()))
    A = tuple(map(int, input().split()))
    B = tuple(map(int, input().split()))
    cnt = 0
    for a, b in zip(A, B):
        if a > b:
            cnt += a - b
        else:
            cnt -= (b - a) // 2
    print(("Yes" if cnt <= 0 else "No"))


if __name__ == "__main__":
    main()

# APC001B - Two Arrays
def main():
    N, *AB = list(map(int, open(0).read().split()))
    A, B = AB[:N], AB[N:]
    cnt = 0
    for a, b in zip(A, B):
        if a > b:
            cnt += a - b
        else:
            cnt -= (b - a) // 2
    print(("Yes" if cnt <= 0 else "No"))


if __name__ == "__main__":
    main()

-import sys - -input = sys.stdin.readline - - -    n = int(eval(input())) -    A = tuple(map(int, input().split())) -    B = tuple(map(int, input().split())) +    N, *AB = list(map(int, open(0).read().split())) +    A, B = AB[:N], AB[N:]