#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false), cin.tie(NULL), cout.tie(NULL);
  long long n, x, y;
  cin >> n >> x >> y;
  if ((y < n / 2 || y > (n / 2) + 1))
    cout << "YES" << endl;
  else if ((x < n / 2 || x > (n / 2) + 1))
    cout << "YES" << endl;
  else
    cout << "NO" << endl;
}
