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

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

    val twos = a.count { it % 2 == 0 && it % 4 != 0 }
    val fours = a.count { it % 4 == 0 }
    val others = N - twos - fours

    println(if (fours + (if (twos % 2 != 0) 1 else 0) <= others) "Yes" else "No")
}