#include <cstdio>
#include <cstring>
using namespace std;
int f,t,n;
int main()
{
	scanf("%d",&n);
	for(int i = 1,tmp;i <= n;i++)
	{
		scanf("%d",&tmp);
		if(tmp % 4 == 0)f++;
		else if(tmp % 2 == 0)t++;
	}
	int num = f * 2 + t;
	if(t == 0)num++;
	printf("%s",num >= n ? "Yes" : "No");
}