#include <bits/stdc++.h>
using namespace std;
const long long mei = (long long)1e9 + 7;
int main() {
  long long n, a, b, d;
  cin >> n;
  vector<long long> c(n);
  for (long long i = 0; i < (long long)(n); i++) cin >> c[i];
  for (long long i = 0; i < (long long)(n); i++) {
    if (c[i] % 4 == 0)
      c[i] = 2;
    else if (c[i] % 2 == 0)
      c[i] = 1;
    else
      c[i] = 0;
  }
  a = b = 0;
  for (long long i = 0; i < (long long)(n); i++) {
    if (c[i] == 0) a++;
    if (c[i] == 2) b++;
  }
  if (a > b)
    cout << "No";
  else
    cout << "Yes";
  cout << endl;
}
