#include <bits/stdc++.h>
using namespace std;
template <typename T>
using reversed_priority_queue =
    std::priority_queue<T, std::vector<T>, std::greater<T> >;
signed main() {
  long long int n;
  cin >> n;
  long long int n2 = 0, n4 = 0;
  for (long long int i = (0); i < (n); i++) {
    long long int a;
    cin >> a;
    if (a % 4 == 0)
      n4++;
    else if (a % 2 == 0)
      n2++;
  }
  n -= n2 - 1;
  if (n4 >= n / 2) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
