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