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