#include <bits/stdc++.h>
using namespace std;
bool bo = 0, b[100000000];
int main() {
  long long n;
  cin >> n;
  long long a[n + 10];
  int c = 0, e = 0;
  for (int i = 1; i <= n; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      c++;
    } else {
      if (a[i] % 2 == 0) e++;
    }
  }
  if (c >= (double)(n - c) / 2 && (((n - c) / 2 - 1) * 2) <= e) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
