#include <bits/stdc++.h>
using namespace std;
const string YES = "Yes";
const string NO = "No";
void solve(long long N, std::vector<long long> a) {
  vector<long long> b(3, 0);
  for (long long i = 0; i < N; ++i) {
    if (a[i] / 2 == 0)
      b[0]++;
    else if (a[i] / 2 == 1)
      b[1]++;
    else
      b[2]++;
  }
  if (b[1] > 0) {
    if (b[2] > b[0])
      cout << YES << endl;
    else
      cout << NO << endl;
  } else {
    if (b[2] + 1 >= b[0])
      cout << YES << endl;
    else
      cout << NO << endl;
  }
  return;
}
int main() {
  long long N;
  scanf("%lld", &N);
  std::vector<long long> a(N);
  for (int i = 0; i < N; i++) {
    scanf("%lld", &a[i]);
  }
  solve(N, std::move(a));
  return 0;
}
