#include<stdio.h>
int main()
{
	__int64 a[100000],b,c;
	int n,i;
	b=c=0;
	scanf("%d",&n);
	for(i=0;i<n;i++)
	{
		scanf("%I64d",&a[i]);
		if(a[i]%4==0)
		b++;
		else if(a[i]%2!=0)
		c++;
	}
	if(c>b)
	printf("No\n");
	else printf("Yes\n");
 } 