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

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