#include <bits/stdc++.h>
using namespace std;
const long long INF = 1LL << 60;
const int MOD = 1000000007;
using pint = pair<long long, long long>;
int main() {
  long long N;
  cin >> N;
  long long cnt = 0;
  for (int i = 0; i < N; i++) {
    long long tmp = 0;
    cin >> tmp;
    while (true) {
      if (tmp % 2 == 1) break;
      tmp /= 2;
      cnt++;
    }
  }
  cnt /= 2;
  if (cnt >= N / 2)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
