#include<iostream>
#include<string>
#include<algorithm>
using namespace std;

int main()
{
	int n;
	cin>>n;
	int A=0,B=0,C=0,x;
	while(n--)
	{
		cin>>x;
		if(x%2==0&&x%4==0)A++;
		else if(x%2==0)B++;
		else C++;
	}
	if(A>=C)cout<<"Yes";
	else if(B==0&&C-A==1)cout<<"Yes";
	else cout<<"No";
	//system("pause");
}