#include <bits/stdc++.h>
using namespace std;
int MAX(int a, int b) {
  if (a < b) {
    int tmp = a;
    a = b;
    b = tmp;
  }
  int r = a % b;
  while (!r) {
    a = b;
    b = r;
    r = a % b;
  }
  return r;
}
int main() {
  int n;
  cin >> n;
  auto a = vector<long>(n);
  int cnt = 0;
  int cnt2 = 0;
  for (int i = 0; (i) < (int)(n); i++) {
    cin >> a[i];
    a[i] %= 4;
    if (a[i] == 0) cnt++;
    if (a[i] == 2) cnt2++;
  }
  if (cnt >= 1 && cnt2 >= 2) {
    n -= (1 + cnt2);
    cnt--;
  }
  if (n / 2 <= cnt)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
