#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int N;
int countFour(vector<ll> _a) {
  int cnt = 0;
  for (int j = 0; j < N; ++j) {
    if (_a.at(j) % 4 == 0) {
      cnt++;
    }
  }
  return cnt;
}
int main() {
  cin >> N;
  vector<ll> a(N);
  for (int i = 0, i_len = (N); i < i_len; ++i) cin >> a[i];
  if (countFour(a) >= ceil((double)N / 3) && N >= 3) {
    cout << "Yes" << endl;
  } else if (countFour(a) > 0 && N < 3) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
