#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n;
  long long a[100005];
  long long two = 0;
  long long four = 0;
  cin >> n;
  for (long long i = 0; i < n; i++) {
    cin >> a[i];
  }
  for (long long i = 0; i < n; i++) {
    if (a[i] % 4 == 0) {
      a[i] = -1;
      four++;
    }
  }
  for (long long i = 0; i < n; i++) {
    if (a[i] != -1 && a[i] % 2 == 0) {
      two++;
    }
  }
  if ((n - (two / 2)) / 2 <= four) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
