#include <stdio.h>

int main() {
	int N, four=0, two=0, others=0, i, a;
	scanf("%d", &N);
	for (i = 0; i < N; i++) {
		scanf("%d", &a);
		if (a % 4 == 0)four++;
		else if(a%2==0)two++;
		else others++;
	}
	if((four-others)>=0)printf("Yes");
	else if(((four-others)>=-1)&&two==0)printf("Yes");
	else printf("No");
	return 0;
}
