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

#647. Remove x

You are given a list and x. Remove every x and print what is left. If nothing is left, print `None`. ### Input The first line has n, the second line has n integers separated by spaces. The third line has x. ### Output One line.

Examples

Input
8
2 1 0 0 3 4 1 4
4
Output
2 1 0 0 3 1
Input
4
0 3 1 2
1
Output
0 3 2

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