#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int four = 0, odd = 0, two = 0, a = 0, b = 0, c, d, n, res = 0, m,
                tmp = 1, q, sum[200000] = {}, x[200000] = {}, v[200000] = {};
  string str;
  cin >> n;
  for (int i = 1; i <= n; i++) {
    cin >> x[i];
  }
  for (int i = 1; i <= n; i++) {
    if (x[i] % 4 == 0) {
      four++;
    } else if (x[i] % 2 == 0) {
      two++;
    } else {
      odd++;
    }
  }
  if (odd == 0) {
    cout << "Yes";
    return 0;
  }
  if (two >= 1) {
    odd++;
  }
  if (n % 2 == 0) {
    if (four >= odd) {
      cout << "Yes";
      return 0;
    } else {
      cout << "No";
      return 0;
    }
  } else {
    if (four + 1 >= odd) {
      cout << "Yes";
      return 0;
    } else {
      cout << "No";
      return 0;
    }
  }
}
