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