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: [446, 271, 355, 181, 214, 338, 42, 398, 235, 467, 57, 92, 56, 282, 99, 222, 420, 339, 50, 472]

A: [446, 271, 355, 181, 214, 338, 472, 398, 235, 467, 57, 92, 56, 282, 99, 222, 420, 339, 50, 42]
****
Q: [189, 419, 469, 313, 257, 264, 297, 233, 291, 244, 77, 493, 142, 479, 163, 87, 162, 42, 128, 94]

A: [189, 419, 469, 313, 257, 264, 297, 233, 291, 244, 77, 42, 142, 479, 163, 87, 162, 493, 128, 94]
****
Q: [147, 345, 70, 396, 326, 125, 55, 221, 43, 223, 122, 241, 374, 372, 487, 210, 488, 276, 308, 218]

A:
[147, 345, 70, 396, 326, 125, 55, 221, 488, 223, 122, 241, 374, 372, 487, 210, 43, 276, 308, 218]
****