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