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