object Main extends App {
	
	val N = scala.io.StdIn.readInt
	val a = scala.io.StdIn.readLine.split(" ").map(_.toLong)
	val b = scala.io.StdIn.readLine.split(" ").map(_.toLong)

	var count = 0L

	for(i<-0 until N){
		val t = a(i) - b(i)
		if(t > 0){
			count = count + t
		}else{
			count = count + t/2
		}
	}

	if(count <= 0L) println("Yes")
	else println("No")


}
