#include <bits/stdc++.h>
using namespace std;
void fast() {
  std::ios::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
}
const int mod = 1e9 + 7;
const int maxn = 1e6 + 5;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long int a, b, c, d, i, j, sum = 0, cnt = 0;
  cin >> a;
  long long int s[a];
  vector<long long int> v;
  for (i = 0; i < a; i++) {
    cin >> s[i];
    if (s[i] % 2 != 0) {
      sum++;
    }
  }
  if (a % 2 != 0 && s[a - 1] % 2 != 0 && s[0] % 2 != 0) {
    cout << "YES" << endl;
  } else {
    cout << "NO" << endl;
  }
}
