#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int count = 0;
  int a;
  for (int i = 0; i < n; i++) {
    cin >> a;
    if (a % 4 == 0) {
      count++;
    }
  }
  if (count >= (n / 2)) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
