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: [102, 268, 105, 118, 419, 57, 271, 365, 186, 342, 156, 131, 223, 471, 227, 317, 185, 424, 360, 478]
Output:
421