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