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: [265, 475, 341, 442, 418, 161, 53, 69, 485, 331, 436, 450, 144, 455, 98, 488, 333, 273, 221, 51]
Output:
[265, 475, 341, 442, 418, 161, 53, 69, 485, 331, 436, 450, 144, 455, 98, 51, 333, 273, 221, 488]