#include<bits/stdc++.h>
using namespace std;
int b,c,d;
int main()
{
	int n;
	cin>>n;
	for (int i=0;i<n;i++)
	{
		int a;
		cin>>a;
		if (a%4==0)
			b++;
		else
			if (a%2==0)
				c++;
			else
				d++;
	}
	if (d>b+1||(d==b+1&&c!=0)) cout<<"No";
	else cout<<"Yes";
	return 0;
}