#include <stdio.h>
#include <string.h>

int main(){
	int x,i,n;
	scanf("%d",&n);
	int c4=0,c2=0;
	for(i=0;i<n;i++){
		scanf("%d",&x);
		if(x%4==0)c4++;
		else if(x%2==0)c2++;
	}
	int c1=n-c4-c2;
	if(c2==0){
		if(c1-1<=c4)printf("Yes\n");
		else printf("No\n");
	}
	else {
		if(c1>c4){
			printf("No\n");
		}
		else{
			printf("Yes\n");
		} 
	}
}