#include<bits/stdc++.h>
using namespace std;
const int N=1e5+5;
int n,x[N],cnt2,cnt4;
int main()
{
	ios::sync_with_stdio(false);
	cin>>n;
	for(int i=0;i<n;i++)
	{
		cin>>x[i];
		if(x[i]%4==0)cnt4++;
		else if(x[i]%2==0)cnt2++;
	}
	n-=max(cnt2-1,0);
	if(cnt4+cnt4+1>=n)
		cout<<"Yes\n";
	else
		cout<<"No\n";
	return 0;
}