#include<iostream>
#include<cstring>
using namespace std;
long long s[100000+5];
int main()
{
	long long n,x=0,y=0,z=0;
	cin>>n;
	for(int i=0;i<n;i++)
	{
		cin>>s[i];
		if(s[i]%4==0)
		x++;
		if(s[i]%2==0&&s[i]%4!=0)
		y++;
		if(s[i]!=0)
		z++;
	}
	if(x>=(n/2)||n-x*2-y<=0)
	cout<<"Yes"<<endl;
	else
	cout<<"No"<<endl;
}