#include <stdio.h>
#include <bits/stdc++.h>
#define mod 1000000007
typedef long long ll;
using namespace std;
int n;
ll x;
int a,b,c;
int main()  
{  
	cin>>n;
	for(int i=0;i<n;i++){
		scanf("%I64d",&x);
		if(x%4==0) a++;
		else if(x%2==0) b++;
		else c++;
	}
	if(b>0) c++;
	if(a+1>=c) cout<<"Yes";
	else cout<<"No";
	return 0;  
}  
