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 twos = a.filter { it % 4 == 2L }
    val ones = a.filter { it % 2 == 1L }
    return if (ones.size <= fours.size || twos.isEmpty() && one.size == fours.size + 1) "Yes" else "No"
}