import sys sys.setrecursionlimit(10**5) mod=998244353 fact=[1] for i in range(1,3010): fact.append(fact[-1]*i%mod) memo={} def f(n,k,x): if k==1: res=fact[n-1]*(fact[n-1]-1)//2%mod+(x-1)*fact[n-1]%mod*fact[n-1] return res%mod if (n,k,x) in memo: return memo[(n,k,x)] res=0 if x-1>=0: res+=(x-2)*(x-1)//2*fact[n-1]%mod*fact[n-2] res+=(x-1)*f(n-1,k-1,x-1) if n-x>=0: res+=(n*(n-1)-x*(x-1))//2*fact[n-1]%mod*fact[n-2] res+=(n-x)*f(n-1,k-1,x) res%=mod memo[(n,k,x)]=res return res n,k,x=map(int,input().split()) print(f(n,k,x))