#include <bits/stdc++.h>
#pragma comment(linker, "/stack:64000000")
using namespace std;
template <typename X>
inline X abs(const X& a) {
  return a < 0 ? -a : a;
}
template <typename X>
inline X sqr(const X& a) {
  return a * a;
}
const int INF = INT_MAX / 2;
const long double EPS = 1e-9;
const long double PI = 3.1415926535897932384626433832795;
int main() {
  int n, first, second;
  cin >> n >> first >> second;
  if (n == 2) {
    cout << "NO" << endl;
    return 0;
  }
  if ((first == n / 2 || first == n / 2 + 1) &&
      (second == n / 2 || second == n / 2 + 1)) {
    cout << "NO" << endl;
    return 0;
  }
  cout << "YES" << endl;
  return 0;
}
