#include<iostream>
using namespace std;
#define index 10000
int N = 0;
float an[index+1];
int main(){
	cin>>N;
	for(int i = 0;i<N;++i){
		cin>>an[i];
	}
	int one=0;
	int twn=0;
	int forth=0;
	for(int i = 0; i<N;++i){
		if(an[i]%2==0){
			an[i]=an[i]/2;
			if(an[i]%2==0){
				forth++;
			}else{
				twn++;
			}
		}else{
			one++;
		}
	}
	if(twn==0&&one<=forth+1){
		cout<<"Yes"<<endl;
	}else if(one<=forth){
		cout<<"Yes"<<endl;
	}else{
		cout<<"No"<<endl;
	}
}