#include <iostream>
using namespace std;

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