A set of nonnegative integers is fine if and only if all numbers in the set are less than T and their sum is equivalent to rem modulo n. Your task is to find the number of different fine sets.
The first line of the input contains space-separated integers n and rem (0≤rem<n≤104). The second line of the input contains a single integer T (1≤T≤10100,000−1).
Print the number of different fine sets. As this number can be really large, you should print it modulo prime number 998,244,353.
In the first sample, we can include or exclude numbers 0 and 3 freely, it doesn't change the remainder. From numbers 1,2,4 there are two fine sets: 2 and 1,4. So the answer is 2⋅2⋅2=8.
In the second sample, any subset of 0,1,…,19 is fine, hence, the answer is 220=1,048,576.