#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const int INF = (int)1e7;
using p = pair<int, int>;
using v = vector<ll>;
auto used = v(50, 0);
int n, m;
int main() {
  int n;
  cin >> n;
  auto a = v(n, 0);
  for (int i = 0; i < n; i++) {
    cin >> a[i];
  }
  sort(a.begin(), a.end());
  ll ans4 = 0;
  ll ans2 = 0;
  for (int i = 0; i < n; i++) {
    if (a[i] % 4 == 0) {
      ans4++;
    } else if (a[i] % 4 == 2) {
      ans2++;
    }
  }
  if (ans4 >= a.size() - ans2 - ans4) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
