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