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