import kotlin.math.abs

fun longList() = readLine()?.split(" ")?.map(String::toLong) ?: TODO()
fun main() {
    val n = readLine()?.toInt() ?: return
    val a = longList()
    val b = longList()
    val max = b.sum() - a.sum()
    if (max < 0L) {
        println("No")
        return
    }
    var ac = 0L
    var bc = 0L
    repeat(n) {
        val aa = a[it]
        val bb = b[it]
        val diff = abs(aa - bb)
        if (aa >= bb) {
            bc += diff
        } else {
            ac += diff / 2 + diff % 2
        }
    }
    if (ac <= max && bc <= max) {
        println("Yes")
    } else {
        println("No")
    }
}
