#include<stdio.h>
#include<iostream>
#include<string.h>
using namespace std;
int main()
{
	int a[100000],n,flag2=0,flag4=0;
	cin>>n;
	for(int i=0;i<n;i++)
	{
		cin>>a[i];
		if(a[i]%4==0)flag4++;
		else if(a[i]%2==0)flag2++;
	}
	if(flag4>(n-flag4)))
	out<<"Yes"<<endl;
	else
	if(flag4>=(n-flag2-flag4))
	cout<<"Yes"<<endl;
	else if(flag4=(n-1)/2)
	cout<<"Yes"<<endl;
	else cout<<"No"<<endl;
} 