Four different positive integers are to be chosen so that they have a mean of 2017.

What is the smallest possible range of the chosen integers?