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

#594. How many 'n' letters?

You are given a text made of small Latin letters. Count how many times the letter `n` appears. ### Input One line of text. ### Output A number.

Examples

Input
window rocket player refer player civic computer
Output
1
Input
computer rocket rocket music rocket python list print
Output
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!