#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  while (cin >> n) {
    int i, j, k, l, m;
    int ar[1000];
    l = 0;
    for (i = 0; i < n; i++) {
      cin >> m;
      if (m != 0 && m % 2 == 1) l++;
      ar[i] = m;
    }
    if (n % 2 == 0)
      cout << "No" << endl;
    else if (ar[0] == 0 || ar[n - 1] == 0 || ar[0] % 2 == 0 ||
             ar[n - 1] % 2 == 0)
      cout << "No" << endl;
    else
      cout << "Yes" << endl;
  }
  return 0;
}
