#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, even, odd, four;
  even = odd = four = 0;
  cin >> n;
  vector<long long> a(n);
  for (long long i = 0; i < n; i++) {
    cin >> a.at(i);
    if (a.at(i) % 4 == 0) {
      four++;
    } else if (a.at(i) % 2 == 0) {
      even++;
    } else {
      odd++;
    }
  }
  if (four + even > odd || four * 2 >= n - four) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
