#include <bits/stdc++.h>
using namespace std;
bool IsPossible(const vector<int> &A) {
  return A.front() % 2 == 1 && A.back() % 2 == 1 && A.size() % 2 == 1;
}
int main(int argc, char *argv[]) {
  int N;
  cin >> N;
  vector<int> A;
  A.reserve(N);
  for (int i = 0; i < N; ++i) {
    int a;
    cin >> a;
    A.push_back(a);
  }
  cout << (IsPossible(A) ? "Yes" : "No") << endl;
  return 0;
}
