You will be given a definition of a task first, then some input of the task.
In this task, you are given a list of integers you need to calculate and return the range of the integers which is the difference between maximum and minimum element in the list.

[51, 310, 128, 338, 12, 415, 29, 68, 82, 66, 435, 33, 482, 25, 345, 302, 152, 285, 221, 216]
Output:
470