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

int main(){
	int n;	cin>>n;
	int b1=0, b2=0, b4=0;
	for(int i=0;i<n;i++){
		int a;	cin>>a;
		if(a%4==0)b4++;
		else if(a%2==0)b2++;
		else b1++;
	}

	if(b2) b1++;

	if(b4+1>=b1) cout<<"Yes"<<endl;
	else cout<<"No"<<endl;



	return 0;
}
