#include <bits/stdc++.h>
using namespace std;
using P = pair<long long, long long>;
using V = vector<long long>;
void solve_abc_c() {
  long long n;
  long long ans = 1;
  cin >> n;
  V a(n);
  V o, e4;
  for (long long i = 0; i < (long long)(n); i++) {
    cin >> a[i];
    if (a[i] % 2 == 1) {
      o.push_back(a[i]);
    } else if (a[i] % 4 == 0) {
      e4.push_back(a[i]);
    }
  }
  if (o.size() - 1 <= e4.size()) {
    cout << "Yes"
         << "\n";
  } else {
    cout << "No"
         << "\n";
  }
}
int main(void) {
  cin.tie(0);
  ios::sync_with_stdio(false);
  solve_abc_c();
  return 0;
}
