program ABC_094_A_CatsandDogs
   implicit none
   integer A, B, X
   read(*, *) A, B, X
   if(B >= X - A .and. X - A >=0) then
      write(*, *) 'YES'
   else 
      write(*, *) 'NO'
   end if
end program ABC_094_A_CatsandDogs