#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[i];
  }
  bool res = false;
  int x = 0;
  int y = 0;
  for (int i = 0; i < N; i++) {
    if (A[i] % 2 == 1) {
      x++;
    } else if (A[i] % 4 == 0) {
      y++;
    }
  }
  if (y >= ((N - y) + 1) / 2) {
    res = true;
  }
  if (res) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
