#include<bits/stdc++.h>

using namespace std;

int n , a , ch , d;

int main()
{
	cin >> n;
	for(int i = 0 ;  i < n ; i++)
	{
		cin >> a;
		if(a % 4 == 0)
			ch++;
		else if(a % 2 == 0)
			d++;
	}
	if(ch >= n / 2)
		cout << "Yes";
	else
	{
		if(d >= n - (ch * 2))
			cout << "Yes";
		else
			cout << "No";
	}
}