CodeLab Academy 📞 9936 6696
← List Python · Level 8: Nested loops Code · 80 points ← #780 #782 →

#781. Coins: 1, 5, 10

You have as many 1, 5 and 10 tugrik coins as you need. In how many ways can you make n tugriks? (The order of the coins does not matter.) ### Input One integer n (0 ≤ n ≤ 100). ### Output A number.

Examples

Input
20
Output
9
Input
56
Output
42

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