#include using namespace std; #include using namespace atcoder; #pragma GCC optimize("O3") #pragma GCC optimize("unroll-loops") using mint=atcoder::modint998244353; int main(){ int n,m;cin>>n>>m; vector d(n);for(auto&&e:d)cin>>e; mint prod=1;for(auto&&e:d)prod*=m/e; mint ans=0; for(int i=0;i