#include<bits/stdc++.h>
signed main(){
    int n;
    cin>>n;
    int f = 0,t=0,o=0;
    for(int i=0;i<n;i++){
        int k;
        cin>>k;
        if(k%4==0)f++;
        else if(k%2==0)t++;
        else o++;
    }
    if(t==0){
        if(f>=o-1)cout<<"Yes"<<endl;
        else cout<<"No"<<endl;
    }
    else{
        if(f>=o)cout<<"Yes"<<endl;
        else cout<<"No"<<endl;
    }

}
