Consider a number of length N whose every position holds a digit from 0 to 9. The leading digit may be 0.
Among those numbers, count the ones that are divisible by P and whose digit sum is at most M. Write a program that reports this count modulo 998244353 for every M from 0 to Mmax.
Input
The first line contains N, P, and Mmax, separated by spaces. (1≤N≤109, 1≤P≤50, 1≤Mmax≤500)
Output
On the first line, print Mmax+1 integers separated by single spaces. They are the answers for M=0,1,…,Mmax, in that order.
Note
For N=2 and P=3, the numbers that satisfy the condition are: