private fun readInts() = readLine()!!.split(" ").map { it.toInt() }

fun main(args: Array<String>) {
    val (N) = readInts()
    val a = readInts()

    val twicables = a.filter { it % 4 != 0 && it != 2 && it % 2 == 0 }.size
    val twos = a.filter { it % 4 != 0 && it % 2 == 0 }.size
    val resultlyFours = twos / 2 + if (twos % 2 != 0 && twicables != 0) 1 else 0
    val fours = a.filter { it % 4 == 0 }.size + resultlyFours
    val notFourMultiples = N - fours

    println(if (fours + 1 >= notFourMultiples) "Yes" else "No")
}