#include <bits/stdc++.h>
#define ll long long
#define mod 1000000007
#define N 100005
using namespace std;
int main(){
    ll n;
    cin>>n;
    ll a[n+3],cnt=0,cnt1=0,cnt2=0;
    for(int i=0;i<n;i++){
        scanf("%lld",&a[i]);
        if(a[i]%4==0)
            cnt++;
        else if(a[i]%2==0){
            cnt2++;
        }
        if(a[i]%2==1)
            cnt1++;

    }
    if(cnt2%2=1){
        cnt1++;
    }
    if(cnt+1<cnt1){
        cout<<"No\n";
    }
    else{
        cout<<"Yes\n";
    }
}
