#include <bits/stdc++.h>
using namespace std;
const long long N = 2e3 + 5, M = 1e6 + 3, OO = 0x3f3f3f3f;
long long n, x, y;
bool ok() {
  bool xo = (x == n / 2) || (x == n / 2 + 1);
  bool yo = (y == n / 2) || (y == n / 2 + 1);
  if (xo && yo) return 0;
  return 1;
}
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cin >> n >> x >> y;
  if (ok())
    cout << "YES" << endl;
  else
    cout << "NO" << endl;
  return 0;
}
