#include <iostream>
#include <cstring>
#include <algorithm>
using namespace std;
int n,a[100005],flag=0;
int main(int argc, char *argv[])
{
	int s1=0,s2=0;
	cin>>n;
	for(int i=0;i<n;i++)
	{
		cin>>a[i];
		if(a[i]%4==0)s1++;
		if(a[i]%4!=0&&a[i]%2==0)s2++;
	}
	if(n/2<=s1||(s1*2+s2)>=n)cout <<"Yes"<<endl;
	else cout <<"No"<<endl;
	
}