#include<bits/stdc++.h>
using namespace std;
int n,x;
int odd,even, four; 
int main(){
	cin>>n;
	while(n--){
		cin>>x;
		if(x%4==0)four++;
		else if(x%2==0)even++;
		else odd++; 
	}
	string ans;
	if(even==0){
		if(odd<=four+1)ans="Yes";
		else ans="No";
	}else{
		if(odd<=four)ans="Yes";
		else ans="No";	
	}
	cout<<ans<<endl;
	return 0;
}
