#d2700. 01序列2

01序列2

01 Sequence 2

Problem Description

Here comes everyone's favorite 01-sequence problem again.

This time the problem is very simple. cc thinks that in a 01 sequence there should be at least kk zeros between any two 11s. Now he wants to construct a 01 sequence of length nn. How many different construction methods are there?

This number may be very large, so please output it modulo 109+710^9 + 7.

Input Format

A single line containing two integers n,kn, k.

Output Format

One integer: the number of different construction methods.

Sample Input

4 2

Sample Output

6

Constraints

1≤n≤1061 \le n \le 10^6

0≤k<n0 \le k < n