#include<iostream>
#include<cstdio>
#include<cstring>
using namespace std;
int a[100005];
int main()
{
	int n,t1=0,t2=0;
	scanf("%d",&n);
	for(int i=1;i<=n;i++)
	{
		scanf("%d",&a[i]);
		if(a[i]%2==0&&a[i]%4!=0) t1++;
		if(a[i]%4==0) t2++;
	}
	if(t1/2+t2>=n/2) printf("Yes");
	else printf("No");
}