#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];
    if (a[i] % 2 != 0)
      a[i] = 0;
    else if (a[i] % 4 != 0)
      a[i] = 1;
    else
      a[i] = 2;
  }
  int zeros = 0, twoes = 0;
  for (int i = 0; i < N; i++) {
    if (a[i] == 0) zeros++;
  }
  for (int i = 0; i < N; i++) {
    if (a[i] == 2) twoes++;
  }
  if (twoes >= zeros)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
