#include <bits/stdc++.h>
using namespace std;
int ceil(int x) {
  float f = (float)x / 2;
  int e = x / 2;
  if (e == f) return e;
  return e + 1;
}
int main() {
  int i, j, k, n, dua, empat;
  cin >> n;
  dua = 0;
  empat = 0;
  for (i = 1; i <= n; i++) {
    cin >> k;
    if (k == 2) dua++;
    if (k % 4 == 0) empat++;
  }
  if (n <= 3) {
    if (empat >= 1) {
      cout << "Yes\n";
      return 0;
    } else {
      cout << "No\n";
      return 0;
    }
  } else {
    n -= (dua / 2) * 2;
    if (n <= 3) {
      if (empat >= 1) {
        cout << "Yes\n";
        return 0;
      } else {
        cout << "No\n";
        return 0;
      }
    } else if (empat >= ceil(n)) {
      cout << "Yes\n";
      return 0;
    } else {
      cout << "No\n";
      return 0;
    }
  }
}
