N, M, K = map(int, input().split()) mod = 998244353 if M <= K: print(pow(M, 2 * N, mod)) else: print(((M - K + 1) % mod * pow(K, 2 * N, mod) - (M - K) % mod * pow(K - 1, 2 * N, mod)) % mod)