#include int main(void){ int n,m,x; scanf("%d %d %d",&n,&m,&x); if(n-x+3<=m) printf("YES\n"); else printf("NO\n"); }