#include<cstdio>

int main()
{
	int n,a[100002];
	scanf("%d",&n);
	int num_2 = 0,num_4 = 0;
	int flag = 0;
	for(int i = 0;i < n;i ++)
	{
		scanf("%d",&a[i]);
		if(a[i] %4 == 0)
		num_4 ++;
		else if(a[i] % 2 == 0)
		num_2 ++;
	}
	if(num_4 + num_2/2 >= n/2)
	flag = 1;
    printf("%s\n",flag?"Yes":"No");
}