#include<iostream>
using namespace std;
int main(){
	int n;
	cin >> n;
	int a1=0,a2=0,a4=0;
	for(int i=0;i<n;i++){
		int a;
		cin >> a;
		if(a%4==0) a4++;
		else if(a%2==0) a2++;
		else a1++;
	}
	bool flag=true;
	if(a2==0){
		if(a4<a1-1) flag=false;
	}else{
		if(a4<a1) flag=false;
	}
	
	if(flag) cout << "Yes" << endl;
	else cout << "No" << endl;
}
