#include <bits/stdc++.h>
using namespace std;
const int N = 10010;
int a[N], n;
int main() {
  scanf("%d", &n);
  for (int i = 1; i <= n; i++) scanf("%d", a + i);
  if (a[1] % 2 == 0 || a[n] % 2 == 0 || n % 2 == 0)
    printf("No\n");
  else
    printf("Yes\n");
}
