program apc001
    use,intrinsic :: iso_fortran_env
    implicit none
    integer(int64):: n,i,c1=0,c2=0
    integer(int64), allocatable:: a(:), b(:)

    read*, n
    allocate(a(n), b(n))
    read*, a(:)
    read*, b(:)

    do i=1,n
        if (b(i) >= a(i))then
            c1=c1+(b(i)-a(i))/2
        else
            c2=c2+a(i)-b(i)
        end if
    end do

    if (c1 >= c2) then
        print'(a)', 'Yes'
    else
        print'(a)', 'No'
    end if
end program apc001