#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, a[100000];
  int sum = 0, sub = 0;
  cin >> N;
  for (int i = 0; i < N; ++i) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      sum += 1;
    } else if (a[i] % 2 == 0) {
      sub += 1;
    }
  }
  if (sum >= (N - sub + 1) / 2) {
    cout << "Yes";
  } else if ((sum >= N / 2) && (sub = 0)) {
    cout << "Yes";
  } else {
    cout << "No";
  }
  return 0;
}
