#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  int n, i, j, num;
  cin >> n;
  vector<int> v, ans;
  for (i = 0; i < n; i++) {
    cin >> num;
    if (num & 1)
      v.push_back(1);
    else
      v.push_back(0);
  }
  if (v[0] == 0 || v[n - 1] == 0) {
    cout << "No";
    return 0;
  }
  if (n & 1)
    cout << "Yes";
  else
    cout << "No";
}
