Instructions: 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: [38, 266, 209, 22, 334, 372, 279, 42, 123, 247, 445, 363, 414, 180, 496, 88, 298, 382, 79, 284]
Output:
474