#include<bits/stdc++.h>
using namespace std;
int a,b,c,x,n;
int main(){
	cin>>n;
	for(int i=1;i<=n;i++)
	   {
	   	  cin>>x;
	   	  if(x%4==0) a++;
	   	  else 
	   	     if(x%2==0) b++;
	   	     else  
	   	        c++;
	   }
	if(b>0)c+=1;
	if(a+1>=c) cout<<"Yes";
	else cout<<"No";
	return 0;
}
