#include<iostream>
#include<string>
#include<vector>
#include<algorithm>
#include<map>
#include<set>
#include<utility>
using namespace std;
typedef long long ll;
#define rep(i,a,n)	for(int i=a;i<n;i++)
#define rrep(i,a,n) for(int i=(a-1);i>=n;i--)
int main(){
	ll n;
	cin>>n;
	ll a[100010];
	ll cnt=0;
	ll ct=0;
	ll c=0;
	rep(i,0,n){
		cin>>a[i];
		if(a[i]%4==0)cnt++;
		else if(a[i]%2==0)ct++;
		else c++;
	}
	if(c4<c){
		cout<<"No"<<endl;
	}
	else{
		cout<<"Yes"<<endl;
	}
}