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

#768. Coins: 1, 2, 5

You have as many 1, 2 and 5 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
98
Output
520
Input
80
Output
353

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