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

#665. Values that appear more than 1 times

Print the values that appear more than 1 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
15
1 5 1 5 5 4 4 4 2 1 1 0 4 2 2
Output
1 2 4 5
Input
14
4 4 5 5 5 4 2 1 2 0 5 1 0 0
Output
0 1 2 4 5

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