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