Score : $600$ points
Find the number, modulo $998244353$, of sequences $X$ that satisfy all of the following conditions.
Input is given from Standard Input in the following format:
$N$ $S$ $A_1$ $\ldots$ $A_N$
Print the answer.
3 7 2 4 5
3
The following three sequences satisfy the conditions.
5 60 10 20 30 40 50
37634180
10 1000000000000000000 1 2 4 8 16 32 64 128 256 512
75326268