#include<cstdio>

using namespace std;

int n,a[100005],c,d;

int main () {
	scanf("%d", &n);
	for (int i = 0; i < n; i++) {
		scanf("%d", &a[i]);
		if (a[i] % 4 == 0) c++;
		if (a[i] % 2 == 0) d++;
	}
	d -= c;
	if (d % 2 == 1) d--;
	if (n - c * 2 - 1 - d <= 0) printf("Yes\n");
	else printf("No\n");
	return 0;
}