#include<stdio.h>
#include<string.h>
int main()
{
	int n,m[110000],i,s4=0,s2=0,s1=0;
	scanf("%d",&n);
	for(i=0;i<n;i++){
		scanf("%d",&m[i]);
		if(m[i]%4==0)
			s4++;
		else if(m[i]%2==0)
			s2++;
		else 
			s1++;		
	} 
	if(s4>=s1){
		puts("Yes");
	}else if(s4==s1-1){
		if(s2){
			puts("No");
		}else {
			puts("Yes");
		}
	}else 
		puts("No");
}