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