#include <bits/stdc++.h>
using namespace std;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int n, a[100000], b = 0, d = 0;
  cin >> n;
  for (int i = 0; i < (n); i++) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      d++;
    } else if (a[i] % 2 == 1) {
      b++;
    }
  }
  std::cout << (d >= b ? "Yes" : "No");
}
