#include <bits/stdc++.h>
using namespace std;
int main(void) {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int n;
  cin >> n;
  int a[n];
  for (int i = 0; i < (n); i++) cin >> a[i];
  bool can = true;
  int count = 0;
  int count_4 = 0;
  int count_odd = 0;
  for (int i = 0; i < (n); i++) {
    if (a[i] % 2 && a[i] != 1) count_odd++;
    if (!(a[i] % 2)) {
      count++;
      if (a[i] >= 4) count_4++;
    }
  }
  if (count_odd > 1) can = false;
  if (count < 2 && count_4 < 1) can = false;
  if (can)
    cout << "Yes" << '\n';
  else
    cout << "No" << '\n';
  return 0;
}
