CodeLab Academy 📞 9936 6696
← List Python · Level 3: Conditions (if) Code · 30 points ← #227 #229 →

#228. How many digits?

You get a number from 1 to 999. Print `1` if it has one digit, `2` if it has two digits, or `3` if it has three digits (use if). ### Input One integer (1 ≤ n ≤ 999). ### Output The number of digits.

Examples

Input
58
Output
2
Input
81
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!