An array consisting of n integers is given. In this array, find the first smallest element and swap its place with the first element. Keep the other elements unchanged.
The first line contains the integer n. The next line contains n integers, each with an absolute value not greater than 100.
Output the modified array.
Example 1