#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, s, t, u;
  cin >> n;
  s = 0;
  t = 0;
  vector<int> a(n);
  for (int i = 0; i < n; i++) {
    cin >> a.at(i);
    if (a.at(i) % 2 == 0) {
      s++;
    }
    if (a.at(i) % 4 == 0) {
      t++;
    }
  }
  u = s - t;
  if (2 * t >= n && n % 2 == 0) {
    cout << "Yes" << endl;
  } else if (2 * t + 1 >= n && n % 2 == 1) {
    cout << "Yes" << endl;
  } else if (s == n) {
    cout << "Yes" << endl;
  } else if (2 * t - 1 + s >= n) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
