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.

[Q]: [447, 170, 78, 324, 75, 397, 187, 24, 79, 73, 148, 127, 277, 419, 121, 408, 20, 384, 354, 109]
[A]: [20, 170, 78, 324, 75, 397, 187, 24, 79, 73, 148, 127, 277, 419, 121, 408, 447, 384, 354, 109]

[Q]: [68, 367, 282, 379, 289, 321, 305, 254, 426, 108, 287, 23, 402, 268, 461, 222, 24, 312, 144, 125]
[A]: [68, 367, 282, 379, 289, 321, 305, 254, 426, 108, 287, 461, 402, 268, 23, 222, 24, 312, 144, 125]

[Q]: [336, 470, 324, 58, 152, 186, 335, 68, 236, 425, 331, 369, 300, 115, 376, 286, 130, 439, 426, 358]
[A]:
[336, 58, 324, 470, 152, 186, 335, 68, 236, 425, 331, 369, 300, 115, 376, 286, 130, 439, 426, 358]