Aline noticed that there are several ways to write a number $$$n$$$ as the sum of other positive integers. For example, the number $$$3$$$ can be written in $$$4$$$ ways:
$$$3 = 1 + 1 + 1 = 1 + 2 = 2 + 1 = 3$$$
Help Aline compute how many ways a number $$$n$$$ can be written. Compute the answer modulo $$$10^9 + 7$$$.
The input consists of a single integer $$$1 \leq n \leq 10^6$$$.
Print the number of ways to write $$$n$$$ as the sum of other positive integers, modulo $$$10^9 + 7$$$.
1
1
3
4