According to unconfirmed rumors, banking reform is approaching, and you decide to make some proposals for it — what if they are suddenly accepted, and you are even paid for these ideas?
Your idea is to change the denominations in coin circulation. In your opinion, they should be coins of , , , , and units, and as for what to call the petty cash, let the central bank decide.
However, the Central Bank has immediately demanded that you provide information about how many ways there are to represent, in cash, a given amount of money up to inclusive. Why up to this amount? And how will the bank name them? But who knows: bankers have their quirks. For simplicity, we will also refer to them as coins.
For example, an amount of units can be represented as: 10 \times 1 coin + 1 \times 1 coin, or 5 \times 2 coins + 1 \times 1 coin, or 5 \times 1 coin + 1 \times 6 coins, or 11 \times 1 coin. That is, in total, four ways.
Your task is to write a program that counts the number of ways, so you can quickly respond to any requests from the bankers.
Each line contains one positive integer — the next bank request.
For each request, print on a separate line the required number of ways to provide the specified amount.
Example 1