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