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

#935. Digit sum of n!

You get n. Find the sum of the digits of n!. ### Input One integer n (0 ≤ n ≤ 500). ### Output A number.

Examples

Input
419
Output
3564
Input
232
Output
1809

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