#include <bits/stdc++.h>
using namespace std;
int main() {
  int a[3] = {};
  int n;
  int temp;
  cin >> n;
  for (int i = 0; i < n; ++i) {
    cin >> temp;
    if (temp % 4 == 0) {
      ++a[0];
    } else if (temp % 2 == 0) {
      ++a[1];
    } else {
      ++a[2];
    }
  }
  if ((a[2] - a[0] <= 1 && a[1] == 0) || (a[1] > 0 && a[2] - a[1] <= 0)) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
