#include <bits/stdc++.h>
using namespace std;
int toInt(string s) {
  int r = 0;
  istringstream sin(s);
  sin >> r;
  return r;
}
bool wayToSort(long long int i, long long int j) { return i > j; }
bool sortinrev(const pair<long long int, long long int> &a,
               const pair<long long int, long long int> &b) {
  return (a.first > b.first);
}
bool sortbysec(const pair<long long int, long long int> &a,
               const pair<long long int, long long int> &b) {
  return (a.second < b.second);
}
bool sortbysecdesc(const pair<long long int, long long int> &a,
                   const pair<long long int, long long int> &b) {
  return a.second > b.second;
}
int main() {
  std::ios::sync_with_stdio(false), cin.tie(NULL), cout.tie(NULL);
  int n;
  cin >> n;
  bool first = false;
  bool last = false;
  for (long long int i = 0; i < (n); i++) {
    int temp;
    cin >> temp;
    if (i == 0 and temp % 2 == 1) first = true;
    if (i == n - 1 and temp % 2 == 1) last = true;
  }
  if (first and last and n % 2 == 1) {
    cout << "YES" << endl;
  } else
    cout << "NO" << endl;
  return 0;
}
