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