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