#include<stdio.h>
#include<string.h>
typedef long long ll;
const ll maxn=1e5+10;
int fn,tn,n;
int main(){
	while(~scanf("%d",&n)){
		fn=tn=odd=0;
		for(int i=1;i<=n;i++){
			ll x;
			scanf("%lld",&x);
			if(x&1) odd++;
			if(x%4==0) fn++;
			else if(x%2==0) tn++; 
		}
		if(2*fn+1>=(n-tn/2)||tn==n||fn+tn>=n||fn==1&&odd==1||fn==2&&odd==2) printf("Yes\n");
	//	if(tn+2*fn+1>=n) 
		else printf("No\n");
	}
	
	return 0;
}



/*
B

char s[110];
int main(){
	scanf("%s",s);
	int len=strlen(s);
	printf("%c%d%c\n",s[0],len-2,s[len-1]);
	return 0;
}
*/ 




/*A
int main(){
	int a,b;
	scanf("%d%d",&a,&b);
	printf("%d\n",(a-1)*(b-1));
	return 0;
} 

*/