#include <bits/stdc++.h>
using namespace std;
long long inf = 1ll << 60;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  long long i, n, s1 = 0, s2 = 0, t;
  cin >> n;
  for (i = 0; i < n; i++) {
    cin >> t;
    if (t % 4 == 0) {
      s1++;
    } else if (t % 2 == 0) {
      s2++;
    }
  }
  if (2 * s1 >= n - s2) {
    cout << "Yes";
  } else {
    cout << "No";
  }
  return 0;
}
