#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, l;
  cin >> n >> k >> l;
  n /= 2;
  if (((k == n + 1) || (k == n)) && ((l == n + 1) || (l == n)))
    cout << "NO";
  else
    cout << "YES";
}
