#include<iostream>
using namespace std;
int main(){
	int n,m,x;
	cin>>n>>m>>x;
	cout<<(m+x>=n+3?"YES":"NO")<<endl;
}