#include <bits/stdc++.h>
using namespace std;
int main(){
	int n;
	cin >> n;
	int c4=0,c2=0,codd=0;
	for(int i=0;i<n;i++){
		long long a;
		cin >> a;
		if(a%4==0)
			c4++;
		else if(a%2==0)
			c2++;
		else codd++;
	}
	codd=codd+c2%2;
	codd--;
	if(c4>=codd)
		cout << "Yes" << endl;
	else cout << "No" <<endl;
}