#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, x, y;
  cin >> n >> x >> y;
  if (x != n / 2 && x != n / 2 + 1) {
    cout << "YES" << endl;
    return 0;
  } else if (y != n / 2 && y != n / 2 + 1) {
    cout << "YES" << endl;
    return 0;
  }
  cout << "NO" << endl;
  return 0;
}
