#include <bits/stdc++.h>
using namespace std;
int a[100005];
int main() {
  int n;
  long long int sum = 1;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    sum ^= a[i];
  }
  if (sum & 1)
    cout << "Yes\n";
  else
    cout << "No\n";
  return 0;
}
