Teacher: 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.
Teacher: Now, understand the problem? If you are still confused, see the following example:
[1,45,67,43,58,98,41,34,57]
Solution: [98,45,67,43,58,1,41,34,57]
Reason: 1 is the minimum element and 98 is the maximum element and their positions are swapped in the resulting list.

Now, solve this instance: [402, 205, 172, 213, 11, 123, 489, 47, 283, 158, 291, 63, 77, 246, 463, 103, 372, 167, 245, 498]
Student:
[402, 205, 172, 213, 498, 123, 489, 47, 283, 158, 291, 63, 77, 246, 463, 103, 372, 167, 245, 11]