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