
#include<iostream>
using namespace std;

int main() {
	int n;
	int cnt = 0;
	int two = 0;
	cin >> n;
	for (int i = 0; i < n; i++) {
		int temp;
		cin >> temp;
		if (temp % 4 == 0)cnt++;
		else if (temp % 2 == 0)two++;
	}

	if (two != 0)two--;
	if (cnt * 2 + 1 + two >= n)cout << "Yes" << endl;
	else cout << "No" << endl;
	return 0;
}