Given the task definition, example input & output, solve the new input case.
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.
Example: [1,2,3,4,5,7,34,25]
Output: 33
maximum element is 34 and minimum element is 1, range is equal to the difference between 34 and 1 which is 33.

New input case for you: [399, 231, 174, 281, 329, 160, 313, 237, 139, 229, 104, 50, 328, 433, 92, 201, 95, 385, 407, 41]
Output:
392