#include <bits/stdc++.h>
using namespace std;
const int mod = 1e9 + 7;
const long long INF = 1e15 + 10;
const int N = 1e9;
int ans;
int main() {
  int n, x, y;
  cin >> n >> x >> y;
  if (n == 2) {
    cout << "NO";
    return 0;
  }
  if (x == n / 2 or x == (n / 2) + 1) {
    if (y == n / 2 or y == (n / 2) + 1) {
      cout << "NO";
      return 0;
    }
  }
  cout << "YES";
}
