#include <bits/stdc++.h>
using namespace std;

int main() {
	int n; scanf("%d", &n);
	int c4 = 0, c2 = 0, c1 = 0;
	for(int i = 0; i < n; i++) {
		int k; scanf("%d", &k);
		if(k % 4 == 0) c4++;
		else if(k % 2 == 0) c2++;
		else c1++;
	}
	if(c4 >= c1) puts("Yes");
	else {
		if(c4 + 1 == c1 && !c2) puts("Yes");
		else puts("No");
	}
	return 0;
}
