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.

[Q]: [174, 287, 437, 168, 125, 479, 31, 262, 301, 291, 102, 37, 152, 335, 325, 153, 248, 213, 233, 34]
[A]: [174, 287, 437, 168, 125, 31, 479, 262, 301, 291, 102, 37, 152, 335, 325, 153, 248, 213, 233, 34]


[Q]: [311, 319, 362, 321, 22, 213, 35, 453, 117, 287, 461, 66, 234, 37, 250, 470, 108, 25, 334, 387]
[A]: [311, 319, 362, 321, 470, 213, 35, 453, 117, 287, 461, 66, 234, 37, 250, 22, 108, 25, 334, 387]


[Q]: [174, 287, 437, 168, 125, 479, 31, 262, 301, 291, 102, 37, 152, 335, 325, 153, 248, 213, 233, 34]
[A]:
[174, 287, 437, 168, 125, 31, 479, 262, 301, 291, 102, 37, 152, 335, 325, 153, 248, 213, 233, 34]