In this task, you are given a list of unique integers you need to swap the positions of maximum and minimum element in the list and return the updated list.

[EX Q]: [76, 66, 180, 140, 291, 342, 333, 13, 343, 279, 206, 292, 290, 275, 398, 258, 139, 271, 236, 21]
[EX A]: [76, 66, 180, 140, 291, 342, 333, 398, 343, 279, 206, 292, 290, 275, 13, 258, 139, 271, 236, 21]

[EX Q]: [159, 271, 473, 31, 27, 126, 320, 353, 71, 432, 214, 249, 440, 266, 170, 185, 324, 398, 399, 23]
[EX A]: [159, 271, 23, 31, 27, 126, 320, 353, 71, 432, 214, 249, 440, 266, 170, 185, 324, 398, 399, 473]

[EX Q]: [208, 423, 249, 120, 319, 473, 313, 294, 374, 495, 271, 497, 474, 379, 50, 270, 68, 26, 116, 260]
[EX A]:
[208, 423, 249, 120, 319, 473, 313, 294, 374, 495, 271, 26, 474, 379, 50, 270, 68, 497, 116, 260]