#include <bits/stdc++.h>
using namespace std;
using namespace std;
const long long int mod = 1e9 + 7;
vector<vector<vector<int>>> dp;
int main() {
  int n;
  cin >> n;
  int x;
  int y;
  cin >> x >> y;
  n = n / 2;
  if ((x == n || x == n + 1) && (y == n || y == n + 1)) {
    cout << "NO" << '\n';
  } else {
    cout << "YES" << '\n';
  }
  return 0;
}
