CodeLab Academy 📞 9936 6696
← List Python · Level 9: Functions and dicts Code · 90 points ← #817 #819 →

#818. Common words of two sentences

Print the words that are in both sentences, in alphabetical order. If there are none, print `None`. ### Input Two lines. ### Output One line.

Examples

Input
apple banana planet python computer
keyboard python teacher school python
Output
python
Input
teacher level keyboard rocket apple
planet planet school school python
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!