#include<iostream>
using namespace std;
int main() {
	long int a;
	int N; cin >> N;
	double count = 0;
	for (int i = 0; i < N; i++) {
		cin >> a;
		if (a % 4 == 0)count++;
		if (a % 2 == 0 && a % 4 != 0)count += 0.5;
	}
	if (count >= N / 2)cout << "Yes" << endl;
	else cout << "No" << endl;
	return 0;
}