import java.util.*

fun main(args:Array<String>){
    val n = readLine()!!.toInt()
    val a = readLine()!!.split(" ").map{it.toInt()}
    var cnt1 = 0
    var cnt4 = 0
    var cnt2 = 0
    a.forEach{
        if(it % 4 == 0) cnt4++
        else if(it % 2 == 1) cnt1++
        else cnt2++
    }
    if(cnt2 != 0) println(if(cnt4 >= cnt1) "Yes" else "No")
    else println(if(cnt4 >= cnt1 - 1) "Yes" else "No")
}
