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: [190, 62, 334, 175, 454, 358, 25, 495, 109, 282, 346, 244, 150, 96, 341, 128, 431, 120, 238, 416]

[190, 62, 334, 175, 454, 358, 495, 25, 109, 282, 346, 244, 150, 96, 341, 128, 431, 120, 238, 416]