#include <bits/stdc++.h>
using namespace std;
int INF = 1e9;
const long long mod = 1e9 + 7;
int main() {
  int N;
  cin >> N;
  vector<int> a(N);
  for (int i = 0; i < N; i++) {
    cin >> a[i];
  }
  int o = 0, e = 0;
  for (int i = 0; i < N; i++) {
    if (a[i] % 2 == 0) {
      e++;
    } else {
      o++;
    }
  }
  if (o > 0) {
    if (N == 3) {
      if (e == 3) {
        cout << "Yes" << endl;
      } else if (e == 1 && o == 2) {
        cout << "Yes" << endl;
      } else {
        cout << "No" << endl;
      }
    }
    if (N == 4) {
      if (e == 4) {
        cout << "Yes" << endl;
      } else {
        cout << "No" << endl;
      }
    }
    if (N >= 5) {
      if (N % 3 != 0) {
        cout << "No" << endl;
      } else {
        if (N % 6 == 0) {
          if (e == N / 3 && o == N / 3 * 2) {
            cout << "Yes" << endl;
          } else {
            cout << "No" << endl;
          }
        } else if (N % 6 != 0) {
          if (N / 2 == e && N / 2 + 1 == o) {
            cout << "Yes" << endl;
          } else {
            cout << "No" << endl;
          }
        }
      }
    }
  } else {
    cout << "Yes" << endl;
  }
  return 0;
}
