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