n,m,k = map(int,input().split()) mod = 998244353 if m <= k: print(pow(m, 2*n, mod)) exit() ans = pow(k, 2*n, mod) + (m-k)*(pow(k, 2*n, mod) - pow(k-1, 2*n, mod))%mod print(ans%mod)