#include <iostream>
using namespace std;
int main(void){
    // Your code here!
    int N;
    int a[100005];
    int A0=0,A4=0;
    cin>>N;
    for(int i=0;i<N;i++){
        cin>>a[i];
        if(a[i]%2==1){A0+=1;}
        else if(a[i]%4==0){A4+=1;}
    }
    if(A4>=A0){cout<<"Yes"<<endl;};
    if(A4+1==A0 && A4+A0==N){cout<<"Yes"<<endl;};
    if(A4<A0){cout<<"No"<<endl;};
}
return 0;