#include <bits/stdc++.h>
using namespace std;
int n;
int A[100001];
int main() {
  cin >> n;
  int num = 0;
  int seki = 1;
  int c;
  for (int i = 1; i <= n; i++) {
    cin >> c;
    if (c % 2 == 0) {
      num += 1;
      seki *= c;
    }
  }
  if (n % 2 == 1) {
    num = num * 2 + 1;
  } else {
    num = num * 2;
  }
  if (num >= n && seki >= pow(4, n / 2)) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
