CodeLab Academy 📞 9936 6696
← List Python · Level 7: Lists Code · 70 points ← #613 #615 →

#614. Sort in increasing order

You are given a list of integers. **Sort in increasing order**. If there is no second value, print `None`. If the answer has several numbers, separate them with spaces. ### Input The first line has n, the second line has n integers separated by spaces. ### Output The answer.

Examples

Input
9
-2 -2 -4 18 18 -8 -14 -15 14
Output
-15 -14 -8 -4 -2 -2 14 18 18
Input
6
-15 16 -3 7 -1 3
Output
-15 -3 -1 3 7 16

💡 You can solve it with Python, JavaScript or blocks. Read the input line by line with input(). Don't print a question (like input("Number: ")). Print exactly what the output asks for, nothing more.

🔒 You can solve the first 3 problems without an account. Sign up for free to solve this one!