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