#include<iostream>
#include<vector>
#include<algorithm>
using namespace std;
using ll = long long;
int main(){
    ll n;
    cin >> n;
    ll x,f=0,k=0;
    for(ll i=0;i<n;i++){
        cin >> x;
        if(x%4==0)  f++;
        else if(x%2!=0) k++;
    }
    if(f>=k||(f==k-1&&f+k==n))    cout << "Yes";
    else    cout << "No";
    return 0;
}