#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, h, x = 0, y = 0;
  cin >> n;
  vector<int> data(n);
  for (int i = 0; i < n; i++) {
    cin >> data[i];
  }
  for (int i = 0; i < n; i++) {
    if (data[i] % 4 == 0) {
      y++;
    } else if (data[i] % 2 == 0) {
      x++;
    }
  }
  h = n / 2;
  if (y >= h) {
    cout << "Yes" << endl;
  } else if (x == n) {
    cout << "Yes" << endl;
  } else if (y + 2 - n >= x) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
