#include <iostream>
using namespace std;
int main() {
	int N, M, X;
	cin >> N >> M >> X;
	if (X - (N - M) >= 3) {
		cout << "YES" << endl;
	} else {
		cout << "NO" << endl;
	}
	return 0;
}