#include<iostream>
#include<cstdio>
using namespace std;
int n;
int main()
{
	scanf("%d",&n);
	int t1=0,t2=0;
	for (int i=1;i<=n;i++)
	{
		int x;
		scanf("%d",&x);
		if (x%4==0) t1++;
		if (x%2!=0) t2++;
	}
	if (t1>=t2) { puts("Yes");return 0;}
	if (n%2==1&&t1+1==t2) { puts("Yes");return 0;}
	puts("No"); 
	return 0;
}