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