#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  vector<int> a(N);
  for (int i = 0; i < N; i++) {
    cin >> a.at(i);
  }
  if (N == 1) {
    if (a.at(0) % 4 == 0)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  } else if (N == 2) {
    if (a.at(0) * a.at(1) % 4 == 0)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  } else if (N == 3) {
    if (a.at(0) % 4 == 0 || a.at(1) % 4 == 0 || a.at(2) % 4 == 0)
      cout << "Yes" << endl;
    else if (a.at(0) % 2 == 0 && a.at(1) % 2 == 0 && a.at(2) % 2 == 0)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  } else {
    int x = 0, y = 0;
    for (int i = 0; i < N; i++) {
      if (a.at(i) % 4 == 0)
        x++;
      else if (a.at(i) % 2 == 1)
        y++;
    }
    if (x >= y)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  }
}
