#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int N, N2, i, j;
  cin >> N2 >> i >> j;
  N = N2 / 2;
  if ((i == N || i == N + 1) && (j == N || j == N + 1)) {
    cout << "NO\n";
    return 0;
  }
  cout << "YES\n";
  return 0;
}
