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