#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, x, y;
  scanf("%d %d %d", &N, &x, &y);
  if (N == 2)
    printf("NO\n");
  else {
    bool f = 1;
    if (x == N / 2 && y == N / 2)
      f = 0;
    else if (x == N / 2 && y == N / 2 + 1)
      f = 0;
    else if (x == N / 2 + 1 && y == N / 2)
      f = 0;
    else if (x == N / 2 + 1 && y == N / 2 + 1)
      f = 0;
    printf("%s\n", f ? "YES" : "NO");
  }
  return 0;
}
