Definition: 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.
Input: [271, 469, 477, 229, 51, 326, 345, 159, 129, 201, 417, 256, 398, 311, 62, 111, 439, 491, 65, 113]
Output:
440