#include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 5;
char s[5] = "abcd";
int main() {
  int n, x, y;
  cin >> n >> x >> y;
  if (x == n / 2 && (y == n / 2 + 1 || y == n / 2) ||
      (x == n / 2 + 1 && (y == n / 2 + 1 || y == n / 2)))
    puts("NO");
  else
    puts("YES");
  return 0;
}
