#include <bits/stdc++.h>
using namespace std;
vector<int> a(200000);
int n;
int d_4 = 0;
int odds = 0;
bool existsD_2 = false;
int main() {
  cin >> n;
  for (int i = 0; i < n; ++i) cin >> a.at(i);
  for (int i = 0; i < n; ++i) {
    if (a.at(i) % 4 == 0) {
      d_4++;
    } else if (a.at(i) % 2 == 0) {
      existsD_2 = true;
    } else {
      odds++;
    }
  }
  if (existsD_2) {
    if (odds <= d_4) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  } else {
    if (odds + 1 <= d_4) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  }
}
