#include<iostream>

using namespace std;

int N;
int A[3];

int main(){
	A[0] = 0;
	A[1] = 0;
	A[2] = 0;

	cin >> N;

	int a;
	for(int i = 0; i < N; i++){
		cin >> a;
		if(a % 4 == 0){
			A[0]++;
		}else if(a % 2 == 0){
			A[1]++;
		}else{
			A[2]++;
		}
	}

	if(A[1]){
	 if(A[2] <= A[0]){
			cout << "Yes" << endl;
		}else{
			cout << "No" << endl;
		}
	}else{
		if(A[2] <= A[0] + 1){
			cout << "Yes" << endl;
		}else{
			cout << "No" << endl;
		}
	}
	return 0;
}

]