using namespace std;
int main(void){
    // Here your code !
    int num[100000],a=0,b=0,c=0,n=0;
    cin>>n;
    for(int i=0;i<n;i++){
        cin>>num[i];
    }
    for(int i=0;i<n;i++){
        if(num[i]%4==0) a++;
        else if(num[i]%2==0) b++;
        else c++;
    }
    if(a==c) cout<<"Yes"<<endl;
    a=a+1; 
    if(a==c) cout<<"Yes"<<endl; 

    else cout<<"No"<<endl;
    return 0;
}
