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

int n,m,isfj,ans,a[100002],p,q,r;

int main(){
	cin>>n;
	for(int i=0;i<n;i++){
		int dis;
		cin>>dis;
		if(dis%2==1)p++;
		if(dis%4==0)q++;
		if(dis%2==0&&dis%4!=0)r++;
	}
	if(p<=q+1&&r==0)cout<<"Yes"<<endl;
	else if(p<=q)cout<<"Yes"<<endl;
	else cout<<"No"<<endl;
	//cin>>isfj;
}