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: [263, 328, 395, 270, 216, 437, 267, 470, 350, 435, 136, 84, 360, 427, 31, 144, 68, 188, 207, 29]
Output:
[263, 328, 395, 270, 216, 437, 267, 29, 350, 435, 136, 84, 360, 427, 31, 144, 68, 188, 207, 470]