#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  int n;
  cin >> n;
  vector<int> a;
  for (int i = 0; i < n; i++) {
    int temp;
    cin >> temp;
    a.push_back(temp);
  }
  if (a[0] % 2 == 0 || a[n - 1] % 2 == 0 || n % 2 == 0)
    cout << "No";
  else
    cout << "Yes";
  return 0;
}
