#include <bits/stdc++.h>
template <class T>
bool chmax(T &a, const T &b) {
  if (a < b) {
    a = b;
    return 1;
  }
  return 0;
}
template <class T>
bool chmin(T &a, const T &b) {
  if (b < a) {
    a = b;
    return 1;
  }
  return 0;
}
using namespace std;
int main() {
  long long N;
  cin >> N;
  long long A[N], L[3];
  for (int i = (0); i < (3); ++i) L[i] = 0;
  for (int i = (0); i < (N); ++i) {
    cin >> A[i];
    if (A[i] % 4 == 0)
      L[2]++;
    else if (A[i] % 4 == 2)
      L[1]++;
    else
      L[0]++;
  }
  if (L[1] > 0) L[0]++;
  if (L[2] >= L[0])
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
