#include <bits/stdc++.h>   using namespace std;   const int MAXN = 130;   int a[MAXN];   int main() {     int N;     cin >> N;     for (int i = 1; i < (N + 1); ++i) cin >> a[i];     bool ok = 0;     if ((a[N] & 1) == 0 || (a[1] & 1) == 0)       ok = 0;     else if (N & 1)       ok = 1;     if (ok)       cout <<  Yes  << endl;     else       cout <<  No  << endl;   }   