#include <iostream>
using namespace std;
int main(){
	
	long long int N,a[10000],f=0,t=0,n=0;
	cin>>N;
	for(int i=0;i<N;i++)cin>>a[i];
	for(int i=0;i<N;i++){
		if(a[i]%4==0)f++;
		else if(a[i]%2==0)t++;
		else n++;
	}
	if(f-n>=0){
		if((f-n)%2==0){
			if(t%2==0)cout<<"Yes"<<endl;
			if(t%2==1)cout<<"No"<<endl;
		if((f-n)%2==1){
			if(t%2==0)cout<<"Yes"<<endl;
			if(t%2==1)cout<<"No"<<endl;
		}
	}
	else cout<<"No"<<endl;
	
	return 0;
}
