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