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.

[98, 437, 372, 383, 178, 20, 104, 282, 274, 24, 165, 269, 231, 291, 289, 100, 336, 326, 130, 156]
417