#include <iostream>
using namespace std;
int main(){
    int N,i,a1=0,a2=0,a4=0;
    cin>>N;
    int a[N];
    for(i=0;i<N;i++){
        cin>>a[i];
    }
    for(i=0;i<N;i++){
        if(a[i]%4==0){
            a4++;
        }else if(a[i]%2==0){
            a2++;
        }else{
            a1++;
        }
    }
//    cout<<a4<<" "<<a2<<" "<<a1<<endl;
    if(a2==0 && a4=a1+1){
        cout<<"Yes";
    }else if(a2>0 && a1<=a4){
        cout<<"Yes";
    }else{
        cout<<"No";
    }

    return 0;
}
