import java.util.Scanner

fun main(args: Array<String>) {
    val scanner = Scanner(System.`in`)
    val n = scanner.nextInt()
    val a = Array<Int>(n, { 0 })
    val b = Array<Int>(n, { 0 })
    val c = Array<Int>(n, { 0 })
    for (i in (0..(n - 1))) {
        a[i] = scanner.nextInt()
    }
    var s = 0L
    var t = 0L
    for (i in (0..(n - 1))) {
        b[i] = scanner.nextInt()
        c[i] = b[i] - a[i]
        s += c[i]
        if (c[i] > 0) {
            t += (c[i] + 1) / 2
        }
    }

    if (s < t) {
        println("No")
    } else {
        println("Yes")
    }
}