#include <bits/stdc++.h>
using namespace std;
template <typename... T>
void read(T&... args) {
  ((cin >> args), ...);
}
template <typename... T>
void write(T... args) {
  ((cout << args), ...);
}
using vcl = vector<long>;
using vcc = vector<char>;
using vcs = vector<string>;
using vcd = vector<double>;
using vcll = vector<long long>;
using vc = vector<int>;
using si = set<int>;
using sll = set<long long>;
using sl = set<long>;
using sc = set<char>;
using ss = set<string>;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  ;
  int n, x, y;
  read(n, x, y);
  n /= 2;
  if ((x == n || x == n + 1) && (y == n || y == n + 1))
    write("NO");
  else
    write("YES");
}
