It's your birthday today, right? If it is, then we wish you Happy Birthday and good luck in the contest. But, even if it is not, you have to be ready to give candies to your friend when this day comes!
You have N candies to distribute and you decide to give them to anyone who shows up. Because this is your day, you invented your own method of distributing all these candies . The process is the following:
Initially, there are N candies placed in one pile. While there are any candies left, a person shows up and do the following:
Because at HackerEarth we like math, we are interested how many different such processes are there. We consider two processes different if and only if one distributes candies to different number of people than the other or both distribute candies to the same number of people and there exists a person who decides to distribute candies differently in them. You have to return the number of different such processes modulo M = 109 + 7.
Input format:
In the first and only line there is one integer N.
Output format:
In one line output a single integer - the answer to the problem modulo M = 109 + 7.
Constraints:
1 <= N <= 1012
There are 5 candies initially. The first person after taking one candy for himself can divide the other 4 candies in two ways:
In the first case, 4 people will show up and each of them will take one candy for himself. In the second case, 2 people will show up and each of the will take 2 candies for himself.