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]: [275, 398, 432, 305, 25, 124, 329, 12, 422, 466, 295, 96, 29, 365, 427, 389, 284, 397, 13, 99]
[EX A]: [275, 398, 432, 305, 25, 124, 329, 466, 422, 12, 295, 96, 29, 365, 427, 389, 284, 397, 13, 99]

[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]: [77, 481, 445, 178, 275, 58, 42, 168, 92, 136, 390, 498, 133, 333, 396, 85, 243, 283, 323, 322]
[EX A]:
[77, 481, 445, 178, 275, 58, 498, 168, 92, 136, 390, 42, 133, 333, 396, 85, 243, 283, 323, 322]