#include <bits/stdc++.h>
using namespace std;
int main() {
  unsigned int n;
  int a[100000];
  int b1 = 0, b2 = 0, b4 = 0;
  double result;
  cin >> n;
  for (int i = 0; i < n; i++) cin >> a[i];
  for (int i = 0; i < n; i++) {
    if (a[i] == 1 || a[i] % 2 != 0) {
      b1++;
    } else if (a[i] == 2) {
      b2++;
    } else {
      b4++;
    }
  }
  if ((b2 == 0 && b1 <= b4 + 1) || (b2 > 0 && b1 <= b4))
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
