#include <bits/stdc++.h>
using namespace std;
long long power(long long x, long long y, long long p) {
  long long res = 1;
  x = x % p;
  while (y > 0) {
    if (y & 1) res = (res * x) % p;
    y = y >> 1;
    x = (x * x) % p;
  }
  return res;
}
long long nCrModpDP(long long n, long long r, long long p) {
  long long C[r + 1];
  memset(C, 0, sizeof(C));
  C[0] = 1;
  for (long long i = 1; i <= n; i++) {
    for (long long j = min(i, r); j > 0; j--) C[j] = (C[j] + C[j - 1]) % p;
  }
  return C[r];
}
long long nCrModpLucas(long long n, long long r, long long p) {
  if (r == 0) return 1;
  long long ni = n % p, ri = r % p;
  return (nCrModpLucas(n / p, r / p, p) * nCrModpDP(ni, ri, p)) % p;
}
void run() {
  long long n, m, k;
  cin >> n >> m >> k;
  long long e = 0;
  if (n - 1 >= k)
    e = nCrModpLucas((n - 1), k, 998244353);
  else
    e = 0;
  long long t = power((m - 1), k, 998244353);
  t = (t * m) % 998244353;
  t = (t * e) % 998244353;
  cout << t << endl;
}
signed main() {
  long long t = 1;
  for (long long i = 0; i < t; i++) run();
  return 0;
}
