#include <bits/stdc++.h>
using namespace std;
template <class T>
inline T abs(const T& x) {
  return x > 0 ? x : -x;
}
template <class T>
inline T sqr(const T& x) {
  return x * x;
}
template <class T>
inline string tostr(const T& a) {
  ostringstream os("");
  os << a;
  return os.str();
}
const int inf = 1999999999;
const double pi = acos(-1.0);
const double eps = 1e-9;
inline char gc() {
  char c;
  while (isspace(c = getchar()))
    ;
  return c;
}
inline int gs(char* s) {
  fgets(s, 9999999, stdin);
  int l = strlen(s);
  while (l && isspace(s[l - 1])) s[--l] = 0;
  return l;
}
int main() {
  int n, x, y;
  scanf("%d%d%d", &n, &x, &y);
  int a[2] = {n / 2, n / 2 + 1};
  for (int i = 0; i < 2; i++) {
    for (int j = 0; j < 2; j++) {
      if (a[i] == x && a[j] == y) {
        printf("NO\n");
        return 0;
      }
    }
  }
  printf("YES\n");
  return 0;
}
