#include<iostream>
using namespace std;
const long long size=1e5+10;
long long x[size],n;
int main()
{
	int a,b,c;
	a=b=c=0;
	cin>>n;
	for(int i=1;i<=n;i++)
	{
		cin>>x[i];
		if(x[i]%4==0) a++;
		else if(x[i]%2) b++;
		else c++;
	}
	
	if(!c) b--;
	cout<<(a>=b?"Yes":"No");
	return 0;
 } 