#include<iostream>
using namespace std;
int main()
{
	int n,a1=0,a2=0,a4=0;
	cin>>n;
	for(int i=0;i<n;i++){
		int t;
		cin>>t;
		if(t%4==0)
			a4++;
		else if(t%2==0)
			a2++;
		else a1++;
	}
	if(a1<=a4&&a2>0)
		cout<<"Yes"<<endl;
	else if(a2==0&&a1<=a4+1)
	cout<<"Yes"<<endl;
		else cout<<"No"<<endl;
	return 0;
}