#include <iostream>
#include<stdio.h>
#define MAXSIZE 100
using namespace std;
int main()
{
	int n;
	int a1 = 0;
	int a2 = 0;
	int a3 = 0;
	int tmp = 0;
	scanf("%d", &n);
	for (int i = 0; i < n; i++)
	{		
		scanf("%d", &tmp);
		if (tmp % 4 == 0) {
			a1++;
		}
		else if (tmp % 2 == 0)
		{
			a2++;
		}
		else {
			a3++;
		}
	}
	if ((a2 > 0 && a1 >= a3)||(a2==0&&a1>=a3-1))printf("Yes");
	else printf("No");
}