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