#include <bits/stdc++.h>
using namespace std;
const int MAX = 1 << 20;
int main() {
  int n, x;
  scanf("%d", &n);
  int ok = 1;
  int cs = 0;
  for (int i = 0; i < n; i++) {
    scanf("%d", &x);
    if (!ok) continue;
    if ((i == 0 || i == n - 1) && !(x & 1)) {
      ok = 0;
      continue;
    }
    cs += (x & 1);
  }
  int cp = n - cs;
  if (ok && (((cs & 1) && !(cp & 1)) || (!(cs & 1) && (cp & 1))))
    puts("Yes");
  else
    puts("No");
  return 0;
}
