#D6184. Cats and Dogs
Cats and Dogs
Cats and Dogs
There are a total of A + B cats and dogs. Among them, A are known to be cats, but the remaining B are not known to be either cats or dogs.
Determine if it is possible that there are exactly X cats among these A + B animals.
Constraints
- 1 \leq A \leq 100
- 1 \leq B \leq 100
- 1 \leq X \leq 200
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
A B X
Output
If it is possible that there are exactly X cats, print YES
; if it is impossible, print NO
.
Examples
Input
3 5 4
Output
YES
Input
2 2 6
Output
NO
Input
5 3 2
Output
NO
inputFormat
input are integers.
Input
Input is given from Standard Input in the following format:
A B X
outputFormat
Output
If it is possible that there are exactly X cats, print YES
; if it is impossible, print NO
.
Examples
Input
3 5 4
Output
YES
Input
2 2 6
Output
NO
Input
5 3 2
Output
NO
样例
2 2 6
NO