#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, t = 0, f = 0, s = 0;
  cin >> n;
  long long a[n];
  for (int i = 0; i < n; i++) cin >> a[i];
  for (int i = 0; i < n; i++) {
    if (a[i] % 4 == 0) {
      f += 1;
      t += 1;
    } else if (a[i] % 2 == 0) {
      t += 1;
    } else {
      s += 1;
    }
  }
  if (n == 2 && f == 1)
    cout << "Yes" << endl;
  else if (f == 0 && t >= s + 1)
    cout << "Yes" << endl;
  else if (f * 2 >= s)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
