#include<iostream>
using namespace std;

int main(){
int n,d2,d4,a;
d2=d4=0;

cin>>n;

for(int i=0;i<n;i++){
cin>>a;
if(a%2!=0)
d2++;
if(a%4==0)
d4++;
}

if(d2+d4==n){
if(d2<=d4+1) cout<<"Yes"<<endl;
else cout<<"No"<<endl;
}

else {
if(d4>=d2) cout<<"Yes"<<endl;
else cout<<"No"<<endl;
}
}
