#include <bits/stdc++.h>
using namespace std;
int nCr(int n, int r, int p) {
  int C[r + 1];
  memset(C, 0, sizeof(C));
  C[0] = 1;
  for (int i = 1; i <= n; i++) {
    for (int j = min(i, r); j > 0; j--) C[j] = (C[j] + C[j - 1]) % p;
  }
  return C[r];
}
int main() {
  int n, m, k;
  cin >> n >> m >> k;
  long long ans = 1;
  int alt = m;
  for (int i = 0; i <= k; i++) {
    ans = (ans * alt) % 998244353;
    alt = m - 1;
  }
  long long c1 = ans * nCr(n - 1, k, 998244353);
  ans = c1 % 998244353;
  cout << ans << endl;
}
