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

#644. Intersection (values that are in both)

You are given two lists. Print the **Intersection (values that are in both)** in increasing order. If it is empty, print `None`. ### Input The first two lines have n and the list a, the next two lines have m and the list b. ### Output One line.

Examples

Input
4
3 6 15 3
2
5 4
Output
None
Input
7
13 1 4 2 2 12 4
3
3 5 14
Output
None

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