#include <bits/stdc++.h>
using namespace std;
static const long long MOD = 1e9 + 7;
static const long long MAX_L = (long long)1 << 62;
long long f = 0;
long long s = 0;
long long o = 0;
int main() {
  long long n;
  cin >> n;
  for (long long i = 1; i <= n; i++) {
    long long x;
    cin >> x;
    if (!(x % 4))
      f++;
    else if (!(x % 2))
      s++;
    else
      o++;
  }
  if (f >= o) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
