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