#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  vector<int> a(N);
  int cnt_odd = 0, cnt_four = 0, cnt_two = 0;
  for (int i = 0; i < N; ++i) {
    cin >> a.at(i);
    if (a.at(i) % 2 != 0) {
      ++cnt_odd;
    } else if (a.at(i) % 4 == 0) {
      ++cnt_four;
    } else {
      ++cnt_two;
    }
  }
  cout << cnt_four << cnt_odd << cnt_two << endl;
  if (cnt_four >= cnt_odd) {
    cout << "Yes" << endl;
  } else if (cnt_four - cnt_odd == -1 && cnt_two == 0) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
