#include <iostream>
#define ll long long
using namespace std;
ll n, sum, num, x;
int main () {
	scanf("%lld", &n);
	for(int i = 1; i <= n; i++) {
		scanf("%lld", &x);
		if(x % 4 == 0)
			sum ++;
		if(x % 2 == 0 && x % 4 != 0)
			num ++;
	} 
	if(num % 2 == 1)
		num --;
	n -= num;
	if(sum >= n / 2) printf("Yes\n");
	else printf("No\n");
	return 0; 
}