#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  int mod4 = 0;
  int modX = 0;
  vector<unsigned int> A(N);
  for (int i = 0; i < N; i++) {
    cin >> A[i];
    if (A[i] % 4 == 0)
      mod4++;
    else if (A[i] % 2 != 0)
      modX++;
  }
  if (mod4 > 0) {
    if (mod4 >= modX) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  } else if (modX = 0) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
