Problem: Nezzar buys his favorite snack — n chocolate bars with lengths l_1,l_2,…,l_n. However, chocolate bars might be too long to store them properly! 

In order to solve this problem, Nezzar designs an interesting process to divide them into small pieces. Firstly, Nezzar puts all his chocolate bars into a black box. Then, he will perform the following operation repeatedly until the maximum length over all chocolate bars does not exceed k.

  * Nezzar picks a chocolate bar from the box with probability proportional to its length x. 
  * After step 1, Nezzar uniformly picks a real number r ∈ (0,x) and divides the chosen chocolate bar into two chocolate bars with lengths r and x-r. 
  * Lastly, he puts those two new chocolate bars into the black box. 



Nezzar now wonders, what is the expected number of operations he will perform to divide his chocolate bars into small pieces.

It can be shown that the answer can be represented as P/Q, where P and Q are coprime integers and Q not ≡ 0 (mod 998 244 353). Print the value of P⋅ Q^{-1} mod 998 244 353.

Input

The first line contains two integers n and k (1 ≤ n ≤ 50, 1 ≤ k ≤ 2000).

The second line contains n integers l_1, l_2, …, l_n (1 ≤ l_i, ∑_{i=1}^{n} l_i ≤ 2000).

Output

Print a single integer — the expected number of operations Nezzar will perform to divide his chocolate bars into small pieces modulo 998 244 353.

Examples

Input


1 1
2


Output


4


Input


1 1
1


Output


0


Input


1 5
1234


Output


15630811


Input


2 1
2 3


Output


476014684


Input


10 33
10 20 30 40 50 60 70 80 90 100


Output


675105648

Solution (in CPP):

Solution:
/*Lucky_Glass*/
#include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;

const int N = 55, L = 2005, MOD = 998244353;
#define con(type) const type &

inline int add(con(int) a, con(int) b) {
	return a + b >= MOD ? a + b - MOD : a + b;
}
inline int sub(con(int) a, con(int) b) {
	return a - b < 0 ? a - b + MOD : a - b;
}
inline int mul(con(int) a, con(int) b) {
	return int(1ll * a * b % MOD);
}
inline int inaPow(con(int) a, con(int) b) {
	return b ? mul(inaPow(mul(a, a), b >> 1), (b & 1) ? a : 1) : 1;
}

int n, vk, totl, curi, curj;
int arl[N], f[L][N], g[L][N], fac[L], ifac[L];

void dp(int l) {
	const int IVL = inaPow(totl, MOD - 2);
	for (int i = curi + l; ~i; i--)
		for (int j = curj + 1; ~j; j--)
			f[i][j] = 0;
	int u = l / vk;
	for (int t = 0; t <= u; t++) {
		int t1 = mul(inaPow(mul(l - vk * t, IVL), t), ifac[t]),
			t2 = mul(inaPow(mul(l - vk * (t + 1), IVL), t), ifac[t]);
		if ( t & 1 ) t1 = sub(0, t1), t2 = sub(0, t2);
		for (int i = 0; i <= curi; i++)
			for (int j = 0; j <= curj; j++) {
				f[i + t][j] = add(f[i + t][j], mul(g[i][j], t1));
				if ( t < u )
					f[i + t][j + 1] = sub(f[i + t][j + 1], mul(g[i][j], t2));
			}
	}
	curi += l, curj++;
}
void init() {
	fac[0] = 1;
	for (int i = 1; i < L; i++) fac[i] = mul(fac[i - 1], i);
	ifac[L - 1] = inaPow(fac[L - 1], MOD - 2);
	for (int i = L - 2; ~i; i--) ifac[i] = mul(ifac[i + 1], i + 1);
}
int main() {
	init();
	scanf("%d%d", &n, &vk);
	for (int i = 1; i <= n; i++) {
		scanf("%d", &arl[i]);
		totl += arl[i];
	}
	f[0][0] = 1;
	for (int i = 1; i <= n; i++) {
		if ( arl[i] <= vk ) continue;
		swap(f, g);
		dp(arl[i]);
	}
//	printf("%d\n", f[0][0]);
	int t2 = mul(inaPow(totl, MOD - 2), vk), ans = 0;
	for (int i = 0; i <= curi; i++)
		for (int j = 0; j <= curj; j++) {
			int t1 = inaPow(inaPow(mul(i + j, t2), i + 1), MOD - 2);
//			printf("? %d\n", t1);
			ans = sub(ans, mul(mul(f[i][j], fac[i]), t1));
		}
	printf("%d\n", ans);
	return 0;
}