#include <bits/stdc++.h>
using namespace std;
int main() {
  bool flag = false;
  long long ans = 0, sum = 0;
  int n, p = 0, q = 0, r = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    int ai;
    cin >> ai;
    if (ai % 4 == 0) {
      ++p;
    } else if (ai % 2 == 0) {
      ++q;
    } else {
      ++r;
    }
  }
  if (r <= p + 1 && q <= n - (p + r)) flag = true;
  if (flag)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
