#include <bits/stdc++.h>
using namespace std;
int num;
int main() {
  int i, n, Count = 0;
  cin >> n;
  for ((i) = (0); (i) < (n); ++(i)) {
    cin >> num;
    if (num % 4 == 0) {
      Count++;
    }
  }
  if (n % 2 == 0) {
    if (Count >= n / 2) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  } else {
    if (Count >= (n - 1) / 2) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  }
  return 0;
}
