#include <iostream>
using namespace std;
int main(void){
    int N; cin>>N;
    int k2=0,k4=0;
    int a;
    for(int i=0;i<N;i++){
        cin>>a;
        if(a%4==0){
            k4++;
        }else if(a%2==0){
            k2++;
        }
    }
    if(k4+k2/2>=N/2){
        cout<<"Yes"<<endl;
    }else{
        cout<<"No"<<endl;
    }
    
}
