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