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]: [145, 414, 184, 316, 312, 330, 434, 182, 365, 119, 224, 393, 498, 19, 460, 157, 388, 57, 465, 315]
[EX A]: [145, 414, 184, 316, 312, 330, 434, 182, 365, 119, 224, 393, 19, 498, 460, 157, 388, 57, 465, 315]

[EX Q]: [128, 249, 389, 83, 380, 314, 51, 289, 383, 247, 133, 336, 391, 41, 312, 497, 306, 349, 255, 488]
[EX A]: [128, 249, 389, 83, 380, 314, 51, 289, 383, 247, 133, 336, 391, 497, 312, 41, 306, 349, 255, 488]

[EX Q]: [463, 228, 473, 145, 347, 39, 90, 233, 455, 128, 219, 239, 336, 467, 69, 493, 339, 457, 120, 354]
[EX A]:
[463, 228, 473, 145, 347, 493, 90, 233, 455, 128, 219, 239, 336, 467, 69, 39, 339, 457, 120, 354]