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.

[319, 78, 368, 417, 317, 116, 92, 294, 214, 306, 469, 106, 347, 162, 311, 217, 144, 221, 416, 446]
Output:
391