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

#795. Coins: 1, 3, 4

You have as many 1, 3 and 4 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
92
Output
384
Input
79
Output
287

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