#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  vector<int> a(n);
  vector<int> k(n, 0);
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      k[i] = 2;
    } else if (a[i] % 2 == 0) {
      k[i] = 1;
    }
  }
  int cnt = 0;
  bool t = false;
  for (int i = 0; i < n; i++) {
    if (!k[i]) cnt++;
    if (k[i] == 1) t = true;
  }
  cnt = t ? cnt + 1 : cnt;
  if (n % 2 == 0 && cnt > n / 2) {
    cout << "No" << endl;
    return 0;
  } else if (n % 2 == 1 && cnt > (int)n / 2 + 1) {
    cout << "No" << endl;
    return 0;
  }
  cout << "Yes" << endl;
  return 0;
}
