#include <bits/stdc++.h>
using namespace std;
const int INTINF = 1 << 29;
const long long LLINF = 1LL << 61;
const int MOD = (int)1e9 + 7;
const double EPS = 1e-9;
const int DX[8] = {0, 1, 0, -1, 1, 1, -1, -1};
const int DY[8] = {1, 0, -1, 0, 1, -1, 1, -1};
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int n;
  int o = 0;
  int f = 0;
  int a;
  cin >> n;
  for (int i = (0); i < (n); ++i) {
    cin >> a;
    if (a % 2 != 0) {
      o++;
    } else if (a % 4 == 0) {
      f++;
    }
  }
  if (o <= f + 1) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
