#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  int x = 0;
  vector<int> a(N);
  for (int i = 0; i < N; i++) {
    cin >> a[i];
  }
  for (int i = 0; i < N; i++) {
    if (a[i] % 2 == 0) {
      while (a[i] / 2 != 0) {
        x++;
        a[i] /= 2;
      }
    }
  }
  if (x >= (N / 2) * 2) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
