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

#683. Values that appear more than 2 times

Print the values that appear more than 2 times, in increasing order. If there are none, print `None`. ### Input The first line has n, the second line has n integers separated by spaces. ### Output One line.

Examples

Input
9
5 0 1 4 3 1 2 3 5
Output
None
Input
10
1 3 3 1 1 2 2 3 5 1
Output
1 3

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