n,m,a,b=map(int,input().split()) if a*(n-1)>b: print(0) exit() mod=998244353 framod=[1] def framod_calc(n, mod, a=1): for i in range(1,n+1): a=a * i % mod framod.append(a) framod_calc(m, mod) def permmod(n, k, mod): if n