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

#510. String: Number of words

You are given one line of text. Find and print: **Number of words**. ### Input One line of text. ### Output The answer.

Examples

Input
7 forest noon number robot river
Output
6
Input
mouse X9
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!