#include <bits/stdc++.h>
#pragma comment(linker, "/STACK:64000000")
using namespace std;
const long double eps = 1e-6;
const long long inf = 1000000007;
const long double pi = acos(-1.0);
const int prime = 53;
inline void finclude() { srand(time(NULL)); }
int main() {
  long long n, x, y;
  cin >> n >> x >> y;
  n /= 2;
  if (x == n || x == n + 1) {
    if (y == n || y == n + 1) {
      cout << "NO\n";
      return 0;
    }
  }
  cout << "YES\n";
  return 0;
}
