#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int a[n];
  for (int i = 0; i < n; i++) {
    cin >> a[i];
  }
  srand(time(NULL));
  int k = rand() % 2;
  if (k == 0) {
    cout << "Yes" << endl;
  } else if (k == 1) {
    cout << "No" << endl;
  }
}
