#include<iostream>
#include<cmath>
#include<algorithm>
#include<bits/stdc++.h>
using namespace std;
#define ll long longz


int main(){
    int n;
    cin >>n;
    int a[n]={0};
    for(int i=0;i<n;i++){
        cin >>a[i];
    }
    int cnt1=0,cnt2=0;
    for(int i=0;i<n;i++){
        if(a[i]%4==0&&a[i]!=0)
            a[i]=0,cnt1++;
        if(a[i]%2==0&&a[i]!=0)
            a[i]=0,cnt2++;
    }
    if(cnt1==0&&cnt2!=n) cout<<"No"<<endl;
    else if(cnt2==0){
        if(cnt1>=n/2) cout<<"Yes"<<endl;
        else cout<<"No"<<endl;
    }
    else if(cnt2) {
        if(cnt1+cnt2-1>=n/2)cout<<"Yes"<<endl;
        else cout<<"No"<<endl;
    }



}
