#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, x, y;
  cin >> n >> x >> y;
  if (x != n / 2 && x - 1 != n / 2 || y != n / 2 && y - 1 != n / 2)
    cout << "YES";
  else
    cout << "NO";
}
