CodeLab Academy 📞 9936 6696
← List Python · Level 6: Strings Code · 60 points ← #552 #554 →

#553. Common letters

You are given two words. How many different letters appear in both of them? ### Input Two lines. ### Output A number.

Examples

Input
banana
dragon
Output
2
Input
noon
school
Output
1

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