#include<iostream>
using namespace std;
int main ()
{
	int i,n;
	while(cin>>n)
	{
		int a=0,b=0,t;
		for(i=0;i<n;i++)
		{
			cin>>t;
			if(t%2==0)
				a++;
			if(t%4==0)
				b++;
		}
		a=a-b;
		if((n-a)<=2*b&&a!=0)
			cout<<"Yes"<<endl;
		else if((n-a-1)<=2*b&&a==0)
			cout<<"Yes"<<endl;
		else
			cout<<"No"<<endl;
	}
}