#include <bits/stdc++.h>
const int MOD = 1000000007;
const int INF = 1010000000;
const double EPS = 1e-10;
using namespace std;
int main() {
  int n;
  cin >> n;
  int f = 0, o = 0;
  for (int i = (0); i < (n); i++) {
    int aa;
    cin >> aa;
    if (aa % 4 == 0) {
      f++;
    } else if (aa % 2 == 1) {
      o++;
    }
  }
  if (f > o) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
