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

#617. Second largest value

You are given a list of integers. **Second largest 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
2
-11 19
Output
-11
Input
7
7 9 8 11 0 13 -9
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!