"use strict";
    
const main = arg => {
    arg = arg.trim().split("\n");
    const N = parseInt(arg[0]);
    const a = arg[1].split(" ").map(n=>parseInt(n));

    let odd  = 0;
    let even = 0;
    let four = 0;
    
    for(let i=0; i<N; i++) {
        if(a[i] % 4 === 0) {
            four++;
        } else if(a[i] % 2 === 0) {
            even++;
        } else {
            odd++;
        }
    }
    
    let answer = "No";
    
    // 4の倍数が奇数より多い
    if(odd <= four) {
        answer = "Yes";
    // 4の倍数 + 1が奇数と同じ かつ 2の倍数はない
    } else if(four + 1 === odd && even === 0) {
        answer = "Yes";
    }
    
    console.log(answer);
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));
