#include <bits/stdc++.h>
#pragma warning(disable : 4996)
using namespace std;
int mod = 998244353;
long long cnk[2007][2007];
int main() {
  long long n, m, k;
  cin >> n >> m >> k;
  for (int i = 0; i < n; ++i) {
    for (int j = 0; j <= i; ++j) {
      if (j == 0 || j == i) {
        cnk[i][j] = 1;
      } else {
        cnk[i][j] = (cnk[i - 1][j] + cnk[i - 1][j - 1]) % mod;
      }
    }
  }
  long long ans = (m * cnk[n - 1][k]) % mod;
  for (int i = 0; i < k; ++i) {
    ans = (ans * (m - 1)) % mod;
  }
  cout << ans;
  return 0;
}
