#include <bits/stdc++.h>
int main() {
  int a, b, c;
  scanf("%d%d%d", &a, &b, &c);
  if (a == 2)
    printf("NO");
  else {
    if ((b == a / 2 || b == a / 2 + 1) && (c == a / 2 || c == a / 2 + 1))
      printf("NO");
    else
      printf("YES");
  }
  return 0;
}
