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.
Input: [272, 456, 486, 115, 337, 359, 195, 108, 216, 68, 421, 435, 83, 134, 348, 69, 99, 476, 427, 145]
Output:
[272, 456, 68, 115, 337, 359, 195, 108, 216, 486, 421, 435, 83, 134, 348, 69, 99, 476, 427, 145]