#include <bits/stdc++.h>
using namespace std;
long long int dp[2004][2004];
int main() {
  long long int n, m, k;
  cin >> n >> m >> k;
  for (int h = 0; h <= n; h++) {
    for (int j = 0; j <= k; j++) {
      if (h == 0)
        dp[h][j] = 0;
      else if (j == 0)
        dp[h][j] = m;
      else
        dp[h][j] =
            (998244353 + dp[h - 1][j] +
             (998244353 + (dp[h - 1][j - 1] * 1LL * (m - 1)) % 998244353)) %
            998244353;
    }
  }
  cout << dp[n][k] << endl;
}
