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: [47, 153, 471, 454, 207, 195, 168, 233, 408, 241, 442, 249, 36, 482, 226, 293, 170, 402, 452, 295]

A: [47, 153, 471, 454, 207, 195, 168, 233, 408, 241, 442, 249, 482, 36, 226, 293, 170, 402, 452, 295]
****
Q: [327, 436, 340, 301, 485, 256, 28, 448, 492, 271, 276, 431, 130, 359, 91, 221, 319, 87, 157, 224]

A: [327, 436, 340, 301, 485, 256, 492, 448, 28, 271, 276, 431, 130, 359, 91, 221, 319, 87, 157, 224]
****
Q: [187, 400, 482, 294, 130, 167, 161, 292, 268, 153, 275, 494, 261, 475, 127, 10, 105, 310, 287, 354]

A:
[187, 400, 482, 294, 130, 167, 161, 292, 268, 153, 275, 10, 261, 475, 127, 494, 105, 310, 287, 354]
****