    import java.util.*
     
    fun main(args: Array<String>) {
        val sc = Scanner(System.`in`)
        val n = sc.nextInt()
        val a = (0 until n).map { sc.next().toLong() }
        println(problem069c(n, a))
    }
     
    fun problem069c(n: Int, a: List<Long>): String {
        val fours = a.filter { it % 4 == 0L }
        val twoCount = a.count { it % 2 == 0L && it % 4 != 0L }
        return if (fours.size >= (n / 2 + if (twoCount >= 1) 1 else 0)) "Yes" else "No"
    }