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