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 Q]: [243, 312, 181, 499, 87, 173, 341, 443, 203, 314, 47, 198, 152, 41, 208, 184, 274, 437, 26, 226]
[EX A]: [243, 312, 181, 26, 87, 173, 341, 443, 203, 314, 47, 198, 152, 41, 208, 184, 274, 437, 499, 226]

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

[EX Q]: [178, 290, 466, 27, 49, 124, 287, 462, 459, 486, 489, 464, 48, 13, 293, 136, 482, 407, 336, 415]
[EX A]:
[178, 290, 466, 27, 49, 124, 287, 462, 459, 486, 13, 464, 48, 489, 293, 136, 482, 407, 336, 415]