#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  vector<long long> a(n);
  for (int i = 0; i < n; i++) cin >> a.at(i);
  vector<int> b(n);
  for (int i = 0; i < n; i++) {
    if (a[i] % 2 == 1)
      b[i] = 0;
    else {
      a[i] /= 2;
      if (a[i] % 2 == 1)
        b[i] = 1;
      else
        b[i] = 2;
    }
  }
  int cnt0 = 0;
  int cnt2 = 0;
  for (int i = 0; i < n; i++) {
    if (b[i] == 0) cnt0++;
    if (b[i] == 2) cnt2++;
  }
  if (cnt0 > cnt2)
    cout << "No" << endl;
  else
    cout << "Yes" << endl;
  return 0;
}
