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


int main(){
	int N; 
	cin >> N; 
	int A = 0, B = 0, C = 0; 
	for(int i = 0; i < N; i++){
		int a; 
		cin >> a; 
		if(a % 2 == 1){A ++;}
		else if(a % 4 == 2){B ++;}
		else{C ++;}
	}
	int D = A + min(B, 1); 
	if(C >= D - 1){cout << "Yes" << endl;}
	else{cout << "No" << endl;}
}