#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  int x4 = 0;
  int x2 = 0;
  int xn = 0;
  for (int i = 0; i < N; i++) {
    int v;
    cin >> v;
    if ((v % 4) == 0) {
      x4++;
    } else if (v == 2) {
      x2++;
    } else {
      xn++;
    }
  }
  bool ok = false;
  if (x4 >= (N / 2)) {
    ok = true;
  } else {
    if ((x2 % 2) != 0) {
      xn++;
    }
    if ((xn - 1) <= x4) {
      ok = true;
    }
  }
  cout << (ok ? "Yes" : "No") << endl;
  return 0;
}
