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