#include <iostream>

using namespace std;

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