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