CodeLab Academy 📞 9936 6696
← List Python · Level 10: Algorithms Code · 100 points ← #935 #937 →

#936. Number of digits of n!

You get n. How many digits does n! have? ### Input One integer n (0 ≤ n ≤ 1000). ### Output A number.

Examples

Input
997
Output
2559
Input
486
Output
1097

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