#include<bits/stdc++.h>
using namespace std;
int main()
{
	int n;
	cin>>n;
	int a[n];
	for(int i=0;i<n;++i)
	{
		cin>>a[i];
	}
	int cnt2=0,cnt4=0;
	for(int i=0;i<n;++i)
	{
	if(!(a[i]%4))
		cnt4++;
	else if(!(a[i]%2))
		cnt2++;
	}
	cnt2/=2;
	if(cnt2+cnt4>=n/2)
		cout<<"Yes";
	else
		cout<<"No";
	return 0;
}