#abc178d. [abc178_d]Redistribution

[abc178_d]Redistribution

Problem Statement

Given is an integer SS. Find how many sequences there are whose terms are all integers greater than or equal to 33, and whose sum is equal to SS. The answer can be very large, so output it modulo 109+710^9 + 7.

Constraints

  • 1leqSleq20001 \\leq S \\leq 2000
  • All values in input are integers.

Input

Input is given from Standard Input in the following format:

SS

Output

Print the answer.


Sample Input 1

7

Sample Output 1

3

33 sequences satisfy the condition: 3,4\\{3,4\\}, 4,3\\{4,3\\} and 7\\{7\\}.


Sample Input 2

2

Sample Output 2

0

There are no sequences that satisfy the condition.


Sample Input 3

1729

Sample Output 3

294867501