#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  vector<long long> a(n);
  long long f = 0;
  long long o = 0;
  long long t = 0;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      f++;
    } else {
      if (a[i] == 2) {
        t++;
      } else {
        o++;
      }
    }
  }
  if (f * 2 >= o + t) {
    cout << "Yes" << endl;
  } else {
    if (t > o) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  }
}
