#include <bits/stdc++.h>
using namespace std;
const int add = 1e9;
const int INF = 2e9;
const long long mod = 1e9 + 7;
const long long mod1 = 3e9 + 19;
const long long mod2 = 3e9 - 71;
const long long longINF = 3e18;
const long long ph = 31;
const long double pi = acos(-1);
const long double eps = 1e-8;
const int M = 1 << 18;
int n, a[105], res;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  cin >> n;
  if (!(n & 1)) {
    cout << "No";
    return 0;
  }
  for (int i = 0; i < n; i++) cin >> a[i];
  if (a[0] % 2 == 0 || a[n - 1] % 2 == 0) {
    cout << "No";
    return 0;
  }
  cout << "Yes";
  return 0;
}
