#include <iostream>
#include <algorithm>
using namespace std;

int main(void){
	int n, p=0, q=0, r=0;
	cin >> n;
	for(int i=0; i<n; i++){
		int a;
		cin >> a;
		if(a%4==0) p++;
		else if(a%2==0) q++;
		else r++;
	}
	if(q==0 && p>=r-1 || q!= 0&& p>=r) cout << "Yes" << endl;
	else cout << "No" << endl;
}