Dancing in Circles

No attempts yetTime limit3sMemory limit512 MB

Problem

A kindergarten is attended by nn children. Every day the children arrange themselves into kk circles and dance. Each circle must contain at least ll children.

Two arrangements are considered different if some child has a different right-hand neighbour in one arrangement than in the other. In other words, each circle is a directed ring in which every child has exactly one right neighbour, and the circles themselves are unordered.

Compute the number of distinct arrangements modulo 20052005. If no arrangement satisfies these conditions, the answer is 00.

Input

The first and only line contains three integers separated by single spaces: nn, kk, and ll.

  • nn: the number of children (3n1093 \le n \le 10^9)
  • kk: the number of circles (1kn1 \le k \le n)
  • ll: the minimum number of children in each circle (2ln2 \le l \le n)

Output

Print, on a single line, the number of distinct arrangements modulo 20052005.