#include <bits/stdc++.h>
using namespace std;
const string TASK = "";
int n, a[101];
void Enter() {
  cin >> n;
  for (int i = 1; i <= n; ++i) cin >> a[i];
}
void Init() {}
void Solve() {
  if (n % 2 == 1 && a[1] % 2 == 1 && a[n] % 2 == 1)
    cout << "YES";
  else
    cout << "NO";
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  Enter();
  Init();
  Solve();
}
