#993. Ways to make change 3, 5, 7
You have as many 3, 5, 7 coins as you want. In how many ways can you make n? (The order does not matter.)
### Input
One integer n (0 ≤ n ≤ 500).
### Output
A number.
Examples
Input
384
Output
730
Input
335
Output
559
💡 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.