#include<bits/stdc++.h>
using namespace std;
int main(){
    int n;
    cin>>n;
    int a,x=0,y=0;
    for(int i=0;i<n;i++){
        cin>>a;
        if(a&1) x++;
        if(!(a&3)) y++;
    }

    if(x+y==n && y+1>=x ) cout<<"Yes"<<endl;
    else if(y>=x) cout<<"Yes"<<endl;
    else cout<<"No"<<endl;
return 0;
}
