#include<iostream>
using namespace std;
int main(){
	int sum=0,num=0,f;
	int n;
	cin>>n;
	for(int i=1;i<=n;i++){
		cin>>f;
		if(f%4==0)sum++;
		else if(f%4==2)num++;
		else sum--;
	}
	if(sum>=0)cout<<"Yes";
	else if(sum==-1){
		if(num!=0)cout<<"No";
		else cout<<"Yes";
	}
	else cout<<"No";
}
