#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n;
  cin >> n;
  vector<long long> a, b, c;
  for (int i = 0; i < n; i++) {
    long long x;
    cin >> x;
    if (x % 2 == 1)
      a.push_back(x);
    else if (x % 4 == 0)
      c.push_back(x);
    else
      b.push_back(x);
  }
  if (b.size() == 0) {
    if (a.size() - 1 <= c.size()) {
      cout << "Yes";
      return 0;
    }
  } else {
    if (a.size() <= c.size()) {
      cout << "Yes";
      return 0;
    }
  }
  cout << "No";
}
