#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c;
  cin >> a >> b >> c;
  int n = a / 2;
  if ((b == n or b == n + 1) and (c == n or c == n + 1)) {
    cout << "NO";
  } else {
    cout << "YES";
  }
  return 0;
}
