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.

Ex Input:
[331, 491, 492, 19, 382, 167, 316, 441, 341, 293, 137, 163, 311, 336, 442, 493, 77, 476, 121, 32]

Ex Output:
[331, 491, 492, 493, 382, 167, 316, 441, 341, 293, 137, 163, 311, 336, 442, 19, 77, 476, 121, 32]

Ex Input:
[332, 397, 20, 176, 157, 58, 415, 67, 299, 201, 250, 295, 417, 310, 302, 132, 138, 117, 440, 315]

Ex Output:
[332, 397, 440, 176, 157, 58, 415, 67, 299, 201, 250, 295, 417, 310, 302, 132, 138, 117, 20, 315]

Ex Input:
[96, 406, 483, 91, 481, 420, 105, 352, 441, 422, 116, 57, 74, 100, 97, 103, 166, 64, 401, 408]

Ex Output:
[96, 406, 57, 91, 481, 420, 105, 352, 441, 422, 116, 483, 74, 100, 97, 103, 166, 64, 401, 408]