fun main(args: Array<String>) {
    var n = readLine()!!
    var x = readLine()!!.split(" ").map{it.toInt()}
    var n_4mod0 = x.filter{ it%4 == 0 }.size
    x = x.filter{ it%4 != 0 }
    
    
    var n_2mod0 = x.filter{it%2==0}.size
    x = x.filter{it%2!=0}
    
    var n_odd = x.size
    
    if((n_4mod0-n_odd >=1 && n_2mod0 == 0 )||(n_4mod0>=n_odd && n_2mod0>0) ) println("Yes")
    else println("No")
}
