#include <bits/stdc++.h>
using namespace std;
int main() {
  long long N;
  cin >> N;
  vector<long long> A(N);
  vector<pair<long long, long long>> pf;
  long long cnt = 0;
  for (int i = 0; i < N; i++) {
    cin >> A.at(i);
    while (A.at(i) % 2 == 0) {
      cnt++;
      A.at(i) /= 2;
    }
  }
  if (cnt >= (N / 2) * 2)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
