#include <bits/stdc++.h>
using namespace std;
void boost() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
}
int main(void) {
  boost();
  long long n, m, k;
  cin >> n >> m >> k;
  long long a[k + 1][n];
  for (__typeof(n) i = (0) - ((0) > (n)); i != (n) - ((0) > (n));
       i += 1 - 2 * ((0) > (n))) {
    a[0][i] = m % 998244353;
  }
  for (__typeof(k + 1) i = (1) - ((1) > (k + 1));
       i != (k + 1) - ((1) > (k + 1)); i += 1 - 2 * ((1) > (k + 1))) {
    for (__typeof(n) j = (0) - ((0) > (n)); j != (n) - ((0) > (n));
         j += 1 - 2 * ((0) > (n))) {
      if (j < i) {
        a[i][j] = 0;
      } else {
        a[i][j] = (a[i][j - 1] + a[i - 1][j - 1] * (m - 1)) % 998244353;
      }
    }
  }
  cout << (a[k][n - 1] % 998244353);
}
