CodeLab Academy 📞 9936 6696
← List Python · Level 2: Arithmetic Code · 20 points ← #102 #104 →

#103. Three-digit number: sum of the digits

You get a three-digit number. Find its **sum of the digits**. ### Input One integer (100 ≤ n ≤ 999). ### Output One integer.

Examples

Input
475
Output
16
Input
549
Output
18

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