import java.util.*

fun main(args: Array<String>) {
    val scanner = Scanner(System.`in`)
    val N = scanner.nextInt()
    var mo4 = 0
    var odd = 0
    for (i in 1..N) {
        val a = scanner.nextInt()
        if (a % 2 == 1)
            odd++
        else if (a % 4 == 0)
            mo4++
    }
    if (mo4+odd<N)
        odd++

    println(if (odd<=(mo4+1)) "Yes" else "No")
}