#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, sum = 0, sim = 0;
  cin >> n;
  vector<int> vec(n);
  for (int i = 0; i < n; i++) {
    int a;
    cin >> a;
    vec.at(i) = a;
  }
  for (int i = 0; i < n; i++) {
    if (vec.at(i) % 2 == 1) {
      sum++;
    } else if (vec.at(i) % 4 == 0) {
      sim++;
    }
  }
  if (sum <= sim) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
