#include <bits/stdc++.h>
using namespace std;
int n, x, y, zz[4];
int main() {
  scanf("%d%d%d", &n, &x, &y);
  zz[0] = (n / 2) * 1000 + n / 2;
  zz[1] = (n / 2 + 1) * 1000 + n / 2;
  zz[2] = (n / 2 + 1) * 1000 + n / 2 + 1;
  zz[3] = (n / 2) * 1000 + n / 2 + 1;
  for (int i = 0; i < 4; i++)
    if (zz[i] == x * 1000 + y) {
      printf("NO\n");
      goto hell;
    }
  printf("YES\n");
hell:;
}
