#include<bits/stdc++.h>
using namespace std;


int n,x,a,b,c;

int main(){
	cin >> n;
	for(int i=0;i<n;i++){
		cin >> x;
		if(x%4==0) a++;
		else if(x%2==0) b++;
		else c++;
	}
	
	if(b==0){
		if(a+1>=c) cout << "Yes" << endl;
		else cout << "No" << endl;
		return 0;
	}
	
	
	if(a>=c) cout << "Yes" << endl;
	else cout << "No" << endl;
	return 0;
}