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.

[185, 396, 366, 219, 118, 386, 129, 413, 417, 166, 186, 358, 378, 40, 29, 397, 238, 245, 390, 287]
388

[23, 442, 30, 73, 109, 344, 108, 209, 125, 491, 439, 138, 423, 476, 282, 20, 163, 97, 286, 355]
471

[137, 17, 311, 292, 13, 135, 242, 16, 206, 183, 192, 77, 461, 124, 430, 50, 225, 230, 392, 354]
448