#include <iostream>
#include <algorithm>
#include <cmath>
#include <stack>
#include <array>
#include <queue>
#include <string>
#include <vector>
#include <cstring>
#include <sstream>
#include <iomanip>
#include <new>
#include <map>
#define ESP (1e-13)
#define INF 2000000000
#define ll long long

using namespace std;

int main() {
	int N;
	int a;
	int j1=0,j2=0,j4=0;
	for (int i = 0;i < N;i++) {
		cin >> a;
		if (a % 4 == 0) j4++;
		if (a % 4 == 2) j2++;
		if (a % 2 == 1) j1++;
	}
	if (j1<=j4||(j1==j4+1&&j2==0) {
		cout << "Yes" << endl;
		return 0;
	}
	else {
		cout << "No" << endl;
		return 0;
	}

}
