#include <bits/stdc++.h>
int main() {
  using namespace std;
  int n, m, k;
  cin >> n >> m >> k;
  const int mod = 998244353;
  int64_t dp[n + 1][k + 1];
  for (int i = 0; i <= n; ++i) {
    for (int j = 0; j <= k; ++j) {
      dp[i][j] = 0;
    }
  }
  for (int i = 0; i < n; ++i) {
    dp[i][0] = m;
  }
  int64_t w = m - 1;
  for (int i = 1; i < n; ++i) {
    for (int j = 1; j <= k; ++j) {
      dp[i][j] = ((dp[i][j] % mod) + ((dp[i - 1][j - 1] * w) % mod)) % mod;
      dp[i][j] = ((dp[i][j] % mod) + (dp[i - 1][j] % mod)) % mod;
    }
  }
  cout << dp[n - 1][k] << "\n";
  return 0;
}
