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