#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  vector<int> sum(n);
  for (int i = 0; i < n; i++) scanf("%d", &sum[i]);
  if (sum[0] % 2 != 0 && n % 2 != 0 && sum[n - 1] % 2 != 0)
    cout << "YES" << endl;
  else
    cout << "NO" << endl;
  return 0;
}
