#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 % 4 == 0)
      empat++;
    else if (k % 2 == 0)
      dua++;
  }
  n -= dua;
  if (empat >= n / 2) {
    cout << "Yes\n";
    return 0;
  } else
    cout << "No\n";
}
