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

int main() {
	int n;
	cin>>n;
	int odd=0,f=0,a[n];
	bool t=false;
	for(int i=0;i<n;i++){
		cin>>a[i];

		if(a[i]%4==0) {f++;} 
		else if(a[i]%2==0) {t=true;}
		else if(a[i]%2!=0){odd++;}
	}
	
	
	if(odd-1+t<=f)cout<<"Yes"<<endl;
	else cout<<"No"<<endl;
}