#include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  int n;
  cin >> n;
  int ara[100010];
  int cnt = 0;
  for (int i = 1; i <= n; i++) {
    cin >> ara[i];
    ara[i] %= 4;
    if (ara[i] == 0) cnt++;
  }
  bool found = true;
  int ind = 0;
  vector<long long> V;
  for (int i = 1; i <= n; i++) {
    if (ara[i] != 0) {
      found = false;
      V.push_back(ara[i]);
    }
  }
  if (found) {
    cout << "Yes" << endl;
    return 0;
  }
  long long num = 0;
  sort(V.begin(), V.end());
  for (int i = 0; i < V.size(); i++) {
    if (V[i] == 2) num++;
  }
  if (num >= (n - cnt - 1))
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
