#include <bits/stdc++.h>
template <class T>
bool chmin(T &a, T b) {
  if (a > b) {
    a = b;
    return 1;
  }
  return 0;
}
template <class T>
bool chmax(T &a, T b) {
  if (a < b) {
    a = b;
    return 1;
  }
  return 0;
}
using namespace std;
using vint = vector<int>;
using vvint = vector<vector<int>>;
using ll = long long;
using vll = vector<ll>;
using vvll = vector<vector<ll>>;
using P = pair<ll, int>;
const int inf = 1e9;
const ll inf_l = 1e18;
const int MAX = 1e5;
int main() {
  int n;
  cin >> n;
  int ct = 0;
  for (int i = 0; i < (int)(n); i++) {
    int a;
    cin >> a;
    if (a % 4 == 0) ct++;
  }
  if ((n + 2) / 3 <= ct)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
