시간 제한메모리 제한제출정답맞힌 사람정답 비율
2 초 (추가 시간 없음) 1024 MB332100.000%

문제

Grammy has a favorite number $k$. She thinks that all the numbers divisible by $k$ are good.

For each array containing only numbers from $0$ to $k-1$, Grammy defines its goodness as the number of non-empty consecutive subarrays that sum to a good number.

Please count the number of arrays of length $n$ such that their goodness is $t$. Since the answer can be enormous, output the answer modulo $998\,244\,353$.

입력

A single line contains three integers $n$, $k$, $t$ ($1 \leq n, k \leq 64$, $0 \leq t \leq \frac{n(n+1)}{2}$).

출력

Output a single integer denoting the answer modulo $998\,244\,353$.

예제 입력 1

2 5 1

예제 출력 1

12

예제 입력 2

7 10 15

예제 출력 2

2016

예제 입력 3

46 50 171

예제 출력 3

645560469