#include <bits/stdc++.h>
#define REP(i, n) for(int i = 0;i < n;i++)
#define SORT(v, n) sort(v, v+n);
#define VSORT(v) sort(v.begin(), v.end())
#define VRSORT(v) sort(v.rbegin(), v.rend())//vectorの降順ソート
#define ll long long
#define pb(a) push_back(a)
#define INF 1000000000
#define MOD 1000000007
using namespace std;
typedef pair<int, int> P;
typedef pair<ll, ll> LP;
typedef pair<int, P> PP;
typedef pair<ll, LP> LPP;

typedef vector<unsigned int>vec;
typedef vector<vec> mat;
typedef tuple<ll, ll, ll> T;

int dy[]={0, 0, 1, -1, 0};
int dx[]={1, -1, 0, 0, 0};

int n,x=0;
int cnt[3]={0};
bool ans=0;

int main(){
    cin.tie(0);
    ios::sync_with_stdio(false);
    cin>>n;
    REP(i,n){
        int a;cin>>a;
        if(a%4==0) ++cnt[0];
        else if(a%2==0) ++cnt[1];
        else ++cnt[2];
    }
    if(cnt[0]+cnt[1]==n)ans=1;
    if(cnt[1]>0){
        x = cnt[1] - 1;
        ++cnt[2];
    }
    if(cnt[0]>=cnt[2] && (n-x)%2 == 0) ans=1;
    if(cnt[0] + 1 >= cnt[2] && (n-x) % 2 == 1) ans=1;
    if(ans) cout<<"Yes"<<endl;
    else cout<<"No"<<endl;
}#include <bits/stdc++.h>
#define REP(i, n) for(int i = 0;i < n;i++)
#define SORT(v, n) sort(v, v+n);
#define VSORT(v) sort(v.begin(), v.end())
#define VRSORT(v) sort(v.rbegin(), v.rend())//vectorの降順ソート
#define ll long long
#define pb(a) push_back(a)
#define INF 1000000000
#define MOD 1000000007
using namespace std;
typedef pair<int, int> P;
typedef pair<ll, ll> LP;
typedef pair<int, P> PP;
typedef pair<ll, LP> LPP;

typedef vector<unsigned int>vec;
typedef vector<vec> mat;
typedef tuple<ll, ll, ll> T;

int dy[]={0, 0, 1, -1, 0};
int dx[]={1, -1, 0, 0, 0};

int n,x=0;
int cnt[3]={0};
bool ans=0;

int main(){
    cin.tie(0);
    ios::sync_with_stdio(false);
    cin>>n;
    REP(i,n){
        int a;cin>>a;
        if(a%4==0) ++cnt[0];
        else if(a%2==0) ++cnt[1];
        else ++cnt[2];
    }
    if(cnt[0]+cnt[1]==n)ans=1;
    if(cnt[1]>0){
        x = cnt[1] - 1;
        ++cnt[2];
    }
    if(cnt[0]>=cnt[2] && (n-x)%2 == 0) ans=1;
    if(cnt[0] + 1 >= cnt[2] && (n-x) % 2 == 1) ans=1;
    if(ans) cout<<"Yes"<<endl;
    else cout<<"No"<<endl;
}