#include<cstdio>
int main(){
	int n,a;
	int count1=0,count2=0,count4=0;
	scanf("%d",&n);
	for(int i=0;i<n;i++){
		scanf("%d",&a);
		if(a%2==0&&a%4!=0) count2++;
		else if(a%4==0) count4++;
		else count1++;
	}
	if(count2>0&&count4>=count1) printf("Yes");
	else if(count2==0&&count4>=count1-1) printf("Yes");
	else printf("No");
	return 0;
}