#include <bits/stdc++.h>
using namespace std;
int c[9999999];
int main() {
  long long a, b, w = 0, i, q = 1;
  cin >> a;
  for (i = 0; i < a; ++i) {
    cin >> c[i];
    if (c[i] % 4 == 0) {
      w++;
    }
  }
  if (w < (a / 2)) {
    cout << "No";
    return 0;
  } else {
    cout << "Yes";
    return 0;
  }
}
