function Main(input) {
  input = input.split("\n");
  var mod = 998244353;
  var N = parseInt(input[0].split(" ")[0]);
  var M = parseInt(input[0].split(" ")[1]);
  var K = parseInt(input[0].split(" ")[2]);
  var memo = new Array(K+1).fill(0);
  memo[0]=M;
  for(var i=0;i<N-1;i++){
    for(var j=K;j>=1;j--){
      memo[j]=((memo[j]*(M-1))%mod+memo[j-1])%mod;
    }
    memo[0]=(memo[0]*(M-1))%mod;
  }
  var ans = 0;
  for(var i=0;i<K+1;i++){
    var ans = (ans+memo[i])%mod;
  }



  console.log('%s', ans);
  return ans;
}

function debug(n){
  var input = document.getElementById("input"+n).value;
  var ans=Main(input);
  var result="WA";
  if(ans==document.getElementById("output"+n).value.split("\n")[0]){
    result="AC";
  }
  document.getElementById("result"+n).innerHTML=result;
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));