#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  int t = 0;
  int e = 0;
  int counter1 = 0;
  int counter4 = 0;
  int counterexist2 = 0;
  vector<int> A(N);
  for (int i = 0; i < N; i++) {
    cin >> A.at(i);
  }
  for (int j = 0; j < N; j++) {
    if (A.at(j) == 2) {
      for (int i = 0; i < N; i++) {
        t = A.at(i) % 2;
        if (t == 1) {
          counter1++;
        }
        e = A.at(i) % 4;
        if (e == 0) {
          counter4++;
        }
      }
      if (counter4 >= counter1) {
        cout << "Yes" << endl;
      } else {
        cout << "No" << endl;
      }
      break;
    }
  }
  for (int j = 0; j < N; j++) {
    if (A.at(j) % 2 == 0 && A.at(j) % 4 != 0) {
      counterexist2++;
    }
  }
  if (counterexist2 == 0) {
    for (int i = 0; i < N; i++) {
      t = A.at(i) % 2;
      if (t == 1) {
        counter1++;
      }
      e = A.at(i) % 4;
      if (e == 0) {
        counter4++;
      }
    }
    if (counter4 + 1 >= counter1) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  }
}
