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