Given the task definition and input, reply with output. 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.

[296, 493, 284, 268, 156, 341, 170, 308, 299, 121, 181, 67, 428, 415, 154, 199, 494, 186, 321, 317]

427