#include <bits/stdc++.h>
using namespace std;
int n, x, y, m;
int main() {
  scanf("%d%d%d", &n, &x, &y);
  m = n >> 1;
  if (x == m || x == m + 1) {
    if (y == m || y == m + 1)
      printf("NO");
    else
      printf("YES");
  } else
    printf("YES");
  return 0;
}
