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

#618. Second smallest value

You are given a list of integers. **Second smallest value**. 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
3
-15 19 7
Output
7
Input
11
-11 20 10 6 -4 -13 12 18 -9 -4 4
Output
-11

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