#include <bits/stdc++.h>
using namespace std;
const double eps = 1e-9;
const int INF = 0x3f3f3f3f;
const double PI = 3.1415926535;
int main() {
  int n, m, M4 = 0, M2 = 0;
  cin >> n;
  long long a[100002] = {0};
  for (int(i) = 0; (i) < (int)(n); ++(i)) cin >> a[i];
  for (int(i) = 0; (i) < (int)(n); ++(i)) {
    if (a[i] % 4 == 0)
      M4++;
    else if (a[i] % 2 == 0)
      M2++;
  }
  M2 = M2 / 2 * 2;
  if (M4 * 3 + M2 >= n)
    cout << "Yes";
  else
    cout << "No";
}
