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