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