import sys readline=sys.stdin.readline N,M,K=map(int,readline().split()) mod=998244353 ans=pow(min(M,K),2*N,mod)+max(0,M-K)*(pow(K,2*N,mod)-pow(K-1,2*N,mod)) ans%=mod print(ans)