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