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