#define _CRT_SECURE_NO_WARNINGS #include"iostream" #include"algorithm" using namespace std; signed main() { int n, m, x; cin >> n >> m >> x; if (x - n + m >= 0)puts("YES"); else puts("NO"); }