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 fourCount = a.count { it % 4 == 0L }
    val twoCount = a.count { it % 4 == 2L }
    val oneCount = a.count { it % 2 == 1L }
    return if (oneCount + ( if(twoCount >= 1) 1 else 0 ) <= fourCount + 1) "Yes" else "No"
}
