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.

[71, 449, 282, 270, 245, 186, 279, 406, 413, 212, 67, 160, 218, 196, 134, 441, 200, 300, 96, 327]
Output:
382