#include <stdio.h>

int main(void) {
	// your code goes here
	int n,i,count=0,odd=0,two=0;
	scanf("%d",&n);
	int *a = (int*)malloc(sizeof(int)*n);
	for(i =0;i<n;i++)
	{
		scanf("%d",&a[i]);
		if(a[i]%4==0)
			count++;
		else if(a[i]%2==0)
			two++;
		else
			odd++;
	}
//	printf("%d %d %d\n",count,two,odd);
	if(two==0&&odd<=count+1)
		printf("Yes");
	else if(two!=0)
	{
		two = two/2 +two%2;
		odd+=two;
//			printf("%d %d %d",count,two,odd);
		if(odd<=count)
			printf("Yes");
		else 
		printf("No");
			
	}
	else
		printf("No");
		
	
	return 0;
}
