void main(){
  import std.stdio, std.string, std.conv, std.algorithm;
  import std.array;

  int n; rd(n);
  auto a=readln.split.to!(int[]);

  if(a.length%2==0){writeln("No"); return;}

  if(a.front%2==1 && a.back%2==1){
    writeln("Yes");
  }else{
    writeln("No");
  }
}

void rd(T...)(ref T x){
  import std.stdio, std.string, std.conv;
  auto l=readln.split;
  foreach(i, ref e; x){
    e=l[i].to!(typeof(e));
  }
}