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.

[361, 224, 198, 74, 147, 325, 59, 18, 240, 496, 383, 321, 441, 291, 328, 64, 424, 105, 448, 226]
Output:
478