#include using namespace std; int main() { int N, M, X; cin >> N >> M >> X; cout << (N - M < X - 2 ? "YES" : "NO") << endl; return 0; }