fun main(args: Array<String>) {
    val n = readLine()!!.toInt()
    val a = readLine()!!.split(' ').map { it.toLong() }.toLongArray()
    val b = readLine()!!.split(' ').map { it.toLong() }.toLongArray()

    val max = b.sum() - a.sum()
    var x = 0L

    for (i in 0 until n) {
        if (a[i] < b[i]) {
            x += (b[i] - a[i] + 1) / 2
        }
    }

    println(if (x <= max) "Yes" else "No")
}
