- Time limit: 1.00 s
- Memory limit: 512 MB
In how many ways can the gifts be distributed?
Input
The only input line has an integer $n$: the number of children.
Output
Print the number of ways modulo $10^9+7$.
Constraints
- $1 \le n \le 10^6$
Input:
4
Output:
9