#include<stdio.h>
int main(){
	int a[100005];
	int n;
	scanf("%d",&n);
	int f1=0,f2=0;
	for(int i=0;i<n;i++){
		scanf("%d",&a[i]);
		if(a[i]%4==0)f1++;
		else if(a[i]%2==0)f2++;
	}
	if(f2!=0){
		if(n-f2-f1<=f1)printf("Yes\n");
		else printf("No\n");
	}	
	else{
		if(f1*2+1>=n)printf("Yes\n");
		else printf("No\n");
	}
}