program two_arrays
  implicit none
  integer :: n
  integer(8) :: a(10000), b(10000), m, x, y
  a = 0_8
  b = 0_8
  read(*,*) n
  read(*,*) a(1:n)
  read(*,*) b(1:n)
  m = sum(b(1:n)-a(1:n))
  x = sum(a(1:n)-b(1:n),a(1:n)-b(1:n).gt.0_8)
  y = sum((b(1:n)-a(1:n))/2_8,b(1:n)-a(1:n).gt.0_8)
  if (m.ge.x+y) then
    write(*,'(a)') "Yes"
  else
    write(*,'(a)') "No"
  end if
  stop
end program two_arrays