#include <bits/stdc++.h>
using namespace std;
void yay(int flag) {
  if (flag == 0)
    cout << "NO";
  else
    cout << "YES";
  cout << endl;
}
int eve(long long int x) {
  if (x % 2 == 0) return 1;
  return 0;
}
template <typename T>
void make_unique(vector<T>& vec) {
  sort(vec.begin(), vec.end());
  vec.erase(unique(vec.begin(), vec.end()), vec.end());
}
void solve() {
  int n, x, y;
  cin >> n >> x >> y;
  if (x > y) swap(x, y);
  if (x < n / 2 || x > (n / 2 + 1))
    yay(1);
  else {
    if (y != n / 2 && y != (n / 2 + 1))
      yay(1);
    else
      yay(0);
  }
}
int main() {
  ios_base::sync_with_stdio(false);
  int t = 1;
  while (t--) {
    solve();
    cout << "\n";
  }
}
