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