Snuke found a random number generator. It generates an integer between 1 and N (inclusive). An integer sequence A_1,A_2,⋯,A_N represents the probability that each of these integers is generated. The integer i (1≤i≤N) is generated with probability A_i/S, where S=∑_i=1NA_i. The process of generating an integer is done independently each time the generator is executed.
Snuke has an integer X, which is now 0. He can perform the following operation any number of times:
Find the expected number of operations until X becomes K, and print it modulo 998244353. More formally, represent the expected number of operations as an irreducible fraction P/Q. Then, there exists a unique integer R such that R×Q≡Pmod998244353, 0≤R<998244353, so print this R.
We can prove that the expected number of operations until X becomes K is a finite rational number. However, we did not prove its integer representation modulo 998244353 can be defined. Our sincerest apologies. Nonetheless, you don't have to worry about division by 0. More precisely, We can model this problem as an absorbing markov chain, and we guarantee that in all tests, the corresponding fundamental matrices can be defined modulo 998,244,353.
Input is given from Standard Input in the following format:
N M K
A_1 A_2 ⋯ A_N
Output the expected number of operations until X becomes K, modulo 998,244,353.