fun main(args: Array<String>) {
    arc080c()
}

fun arc080c() {
    val n = readLine()!!.toInt()
    val aList = readLine()!!.split(" ").map { it.toLong() }

    val multipleOf2 = aList.filterNot { it % 4 == 0L }.count { it % 2 == 0L }
    val multipleOf4 = aList.count { it % 4 == 0L }

    val answer = when {
        multipleOf4 >= n / 2 -> "Yes"
        multipleOf4 * 2 + multipleOf2 >= n -> "Yes"
        else -> "No"
    }

    println(answer)
}
