import java.io.InputStream

private val input = FastScanner()

fun main(args: Array<String>) = input.run {
    val n = nextInt()
    val a = nextInts(n)
    var count0 = 0
    var count4 = 0
    a.forEach {
        if (it % 2 == 1) {
            count0++
        } else if (it % 4 == 0) {
            count4++
        }
    }
    if (count0 <= count4 || count0 - 1 == count4 && count0 + count4 == n) {
        println("Yes")
    } else {
        println("No")
    }
}

class FastScanner(private val input: InputStream = System.`in`) {
    private val sb = StringBuilder()
    private val buffer = ByteArray(4096)
    private var pos = 0
    private var size = 0

    fun nextLong(): Long {
        var c = skipWhitespace()

        val sign = if (c == '-'.toInt()) {
            c = read()
            -1
        } else 1

        var ans = 0L

        while (c > ' '.toInt()) {
            ans = ans * 10 + c - '0'.toInt()
            c = read()
        }

        return sign * ans
    }

    fun nextInt() = nextLong().toInt()

    fun nextInts(n: Int) = IntArray(n) { nextInt() }

    private fun skipWhitespace(): Int {
        while (true) {
            val c = read()
            if (c > ' '.toInt() || c < 0) return c
        }
    }

    private fun read(): Int {
        while (pos >= size) {
            if (size < 0) return -1
            size = input.read(buffer, 0, buffer.size)
            pos = 0
        }
        return buffer[pos++].toInt()
    }
}