#include <bits/stdc++.h>
using namespace std;
int N, a[10000], t, f;
int main() {
  cin >> N;
  for (int i = 0; i < N; i++) {
    cin >> a[i];
    if (a[i] % 2 == 0) t++;
    if (a[i] % 4 == 0) f++;
  }
  if (N - t > f) {
    cout << "No" << endl;
  } else {
    cout << "Yes" << endl;
  }
  return 0;
}
