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]: [243, 171, 26, 446, 109, 477, 285, 67, 193, 123, 335, 288, 357, 135, 51, 464, 257, 447, 208, 240]
[EX A]: [243, 171, 477, 446, 109, 26, 285, 67, 193, 123, 335, 288, 357, 135, 51, 464, 257, 447, 208, 240]

[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]

[EX Q]: [103, 386, 52, 473, 420, 328, 316, 463, 427, 113, 384, 289, 204, 121, 100, 372, 25, 312, 34, 401]
[EX A]:
[103, 386, 52, 25, 420, 328, 316, 463, 427, 113, 384, 289, 204, 121, 100, 372, 473, 312, 34, 401]

