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

int main()
{
	int N;
	int a=0,b=0;
	int tmp;
	
	cin >> N;
	for(int i=0;i<N;i++)
	{
		cin >> tmp;
		if(tmp%4==0)a++;
		if(tmp%2==0)b++;
	}
	b-=a;
	if(N%2==1)N--;
	if(2*a+b>=N)cout << "Yes";
	else cout << "No";
	cout << endl;
	
	return 0;
}
