#include <iostream>
using namespace std;

int main() {
	int n, a, p1 = 0, p2 = 0, p4 = 0;
	cin >> n;
	for (int i = 1; i <= n; i++) {
      	cin >> a;
	    if (a % 4 == 0) p4++;
	    else if (a % 2 == 0) p2++;
	    else p1++;
	}
	if (p4 >= p1) cout << "Yes";
	else if (p1 - p4 == 1 && p2 == 0) cout << "Yes";
	else cout << "No";
	return 0;
}
