#include <bits/stdc++.h>
using namespace std;
int main() {
  int m, x, y;
  cin >> m >> x >> y;
  if ((x == (m / 2) || x == (m / 2) + 1) && (y == (m / 2) || y == (m / 2) + 1))
    puts("NO");
  else
    puts("YES");
}
