Instructions: 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: [327, 436, 340, 301, 485, 256, 28, 448, 492, 271, 276, 431, 130, 359, 91, 221, 319, 87, 157, 224]
Output:
[327, 436, 340, 301, 485, 256, 492, 448, 28, 271, 276, 431, 130, 359, 91, 221, 319, 87, 157, 224]