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