#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, four = 0, two = 0, sonota = 0;
  bool yatta = false;
  cin >> N;
  vector<int> a(N);
  for (int i = 0; i < N; i++) {
    cin >> a.at(i);
  }
  for (int i = 0; i < N; i++) {
    if (a.at(i) / 2 >= 2 && a.at(i) % 2 == 0) {
      four++;
    } else if (a.at(i) / 2 >= 1 && a.at(i) / 2 < 2 && a.at(i) % 2 == 0) {
      two++;
    } else {
      sonota++;
    }
  }
  if (sonota <= four + 1 && two == 0) {
    yatta = true;
  } else if (sonota <= four) {
    yatta = true;
  }
  if (yatta == true) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
