#include<iostream>
using namespace std;
int main(){
	int n;
	int has2=0,hasno=0,buf;
	cin>>n;
	for(int i=0;i<n;i++){
		cin>>buf;
		if(buf%4==0)has4++;
		if(buf%2==1)hasno++;
	}
	if(has4>=hasno)cout<<"Yes"<<endl;
	else cout<<"No"<<endl;
	return 0;
}