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