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

#619. Values without repeats (increasing)

You are given a list of integers. **Values without repeats (increasing)**. 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
4
13 -5 -12 -13
Output
-13 -12 -5 13
Input
7
2 15 -19 7 3 -13 -3
Output
-19 -13 -3 2 3 7 15

💡 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!