#include <bits/stdc++.h>
using namespace std;
long long gcd(long long x, long long y) {
  long long tmp = 0;
  if (x < y) {
    tmp = x;
    x = y;
    y = tmp;
  }
  while (y > 0) {
    long long r = x % y;
    x = y;
    y = r;
  }
  return x;
}
long long lcm(long long x, long long y) { return x / gcd(x, y) * y; }
int main() {
  int n;
  cin >> n;
  int c1 = 0;
  int c2 = 0;
  int c4 = 0;
  for (int i = 0; i < n; i++) {
    int s;
    cin >> s;
    if (s % 4 == 0) {
      c4++;
    } else if (s % 2 == 0) {
      c2++;
    } else {
      c1++;
    }
  }
  if (c1 <= c4)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
