#include <bits/stdc++.h>
using namespace std;
int main() {
  long long MOD = 998244353;
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int n, m, k;
  cin >> n >> m >> k;
  long long** dp = new long long*[2001];
  for (int i = 0; i < 2001; i++) {
    dp[i] = new long long[2001];
    for (int j = 0; j < 2001; j++) {
      dp[i][j] = 0;
    }
  }
  dp[1][0] = m;
  for (int i = 2; i <= n; i++) {
    dp[i][0] = dp[i - 1][0];
    for (int j = 1; j <= k; j++) {
      dp[i][j] = dp[i - 1][j] + dp[i - 1][j - 1] * (m - 1);
      dp[i][j] %= MOD;
    }
  }
  cout << dp[n][k] << endl;
}
