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