TASK DEFINITION: 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.
PROBLEM: [147, 345, 70, 396, 326, 125, 55, 221, 43, 223, 122, 241, 374, 372, 487, 210, 488, 276, 308, 218]

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

PROBLEM: [442, 236, 497, 400, 458, 262, 338, 325, 251, 129, 425, 385, 465, 482, 345, 372, 337, 461, 486, 310]

SOLUTION: [442, 236, 129, 400, 458, 262, 338, 325, 251, 497, 425, 385, 465, 482, 345, 372, 337, 461, 486, 310]

PROBLEM: [446, 271, 355, 181, 214, 338, 42, 398, 235, 467, 57, 92, 56, 282, 99, 222, 420, 339, 50, 472]

SOLUTION:
[446, 271, 355, 181, 214, 338, 472, 398, 235, 467, 57, 92, 56, 282, 99, 222, 420, 339, 50, 42]