CSES - Dice Combinations
  • Time limit: 1.00 s
  • Memory limit: 512 MB

Your task is to count the number of ways to construct sum nn by throwing a dice one or more times. Each throw produces an outcome between 11 and 66.

For example, if n=3n=3, there are 44 ways:

  • 1+1+11+1+1
  • 1+21+2
  • 2+12+1
  • 33

Input

The only input line has an integer nn.

Output

Print the number of ways modulo 109+710^9+7.

Constraints

  • 1n1061 \le n \le 10^6

Example

Input:

3

Output:

4