function main(input){
    var tmp = input.split("\n");
    var N = Number(tmp[0]);
    var a = tmp[1].split(" ");

    var num = Math.floor(N/2)*2;
    var count = 0;

    for(var i=0; i<a.length; i++){
        if(a[i]%4==0){
            count = count+2;
        }else if(a[i]%2==0){
            count++;
        }
    }
    if(count>=num){
        console.log("Yes");
    }else{
        console.log("no");
    }

}

main(require("fs").readFileSync("/dev/stdin", "utf8"));