#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  long long int n, a, b, c, d, e, f, g, h, i, j, x, y, count = 0;
  cin >> n >> x >> y;
  n = n / 2;
  if ((x == n || x == n + 1) && (y == n || y == n + 1))
    cout << "NO";
  else
    cout << "YES";
  return 0;
}
