a,b,x=list(map(int,input().split()));print(('YNEOS'[a>x or x>a+b::2]))
a,b,x=list(map(int,input().split()));print(('NYOE S'[~b<a-x<1::2]))
a, b, x = list(map(int, input().split()))
print(("YNEOS"[a > x or x > a + b :: 2]))

a, b, x = list(map(int, input().split()))
print(("NYOE S"[~b < a - x < 1 :: 2]))

-print(("YNEOS"[a > x or x > a + b :: 2])) +print(("NYOE S"[~b < a - x < 1 :: 2]))