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