#include <iostream>
using namespace std;
int main(){
    int mod0=0,mod2=0;
    int n;
    cin >> n;
    for (int i=0; i<n; i++){
        int x;
        cin >> x;
        if (x%4==2){
            mod2++;
        }else if (x%4==0){
            mod0++;
        }
    }
    if (mod2){
        if (n-mod2-mod0<=mod0){
            cout << "Yes" << endl;
        }else {
            cout << "No" << endl;
        }
    }
    else{
        if (n/2<=mod0){
            cout <<"Yes" << endl;
        }else {
            cout "No" << endl;
        }
    }
}

    

