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