#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  long long a;
  int mod2 = 0, mod4 = 0;
  for (int i = 0; i < N; ++i) {
    cin >> a;
    if (a % 4 == 0) {
      mod4++;
      continue;
    }
    if (a % 2 == 0) {
      mod2++;
    }
  }
  if (mod4 * 2 >= N) {
    cout << "Yes" << endl;
    return 0;
  }
  if (mod4 * 2 + mod2 >= N) {
    cout << "Yes" << endl;
    return 0;
  }
  cout << "No" << endl;
  return 0;
}
