#include<bits/stdc++.h>
using namespace std;
#define fs first
#define sc second
#define pb push_back
#define mp make_pair
#define eb emplace_back
#define ALL(A) A.begin(),A.end()
#define RALL(A) A.rbegin(),A.rend()
typedef long long ll;
typedef pair<ll,ll> P;
const ll mod=1000000007;
const ll LINF=1LL<<60;
const int INF=1<<30;

int main(){
	ll n,l,tmp = 0;
	cin >> n;
	ll m = n;
	ll flag = 0;
	ll count  = 0;
	for(ll i = 0; i < n; i++) {
		cin >> l;
		if (l == 2){
			count ++;
		}
		else if(l % 4 == 0){
			tmp += 1;
		}
		else{
		  flag++;
		}
	}
	if (count != n && count != 0){
		flag += 1
	}
	// cout << m << endl;
	if (flag <= tmp + 1|| count == n){
		cout << "Yes" << endl;
	}
	else{
		cout << "No" << endl;
	}
	return 0;
}
