#include<iostream>
using namespace std;
int main()
{
	int a[100000];
	int n,i,four=0,none=0,two=0;
	cin >> n;
 
	for(i=1;i<=n;i++){
		cin >> a[i];
		if(a[i]%4==0){four++;}
		if(a[i]%2!=0){none++;}
                if(a[i]%2==0){two++;}
	}
	
	if(four*2<n-four){
                if(four*2>=n-two+four){cout << "Yes" <<endl;}
                if(none==0){cout << "Yes" <<endl;}   
                else{cout << "No" <<endl;}
        }
	if(four*2>=n-four){cout << "Yes" <<endl;}
 
	return 0;