#include <algorithm>
#include <iostream>
#include <cstdint>
#include <vector>
#include <array>

template <class Modulus>
class runtime_modular {
public:
  using value_type = uint32_t;
  using max_type = uint64_t;
  static value_type mod() { return Modulus::value; } 

  template <class T>
  static value_type normalize(T value_) {
    if (value_ < 0) {
      value_ = -value_;
      value_ %= mod();
      if (value_ == 0) return 0;
      return mod() - value_;
    }
    return value_ % mod();
  }

private:
  value_type value;

public:
  runtime_modular(): value(0) { }
  template <class T>
  explicit runtime_modular(T value_): value(normalize(value_)) { }
  template <class T>
  explicit operator T() { return static_cast<T>(value); }

  runtime_modular operator - () const { return runtime_modular(mod() - value); }
  runtime_modular operator ~ () const { return inverse(); }


  runtime_modular inverse() const { return power(mod() - 2); }
  runtime_modular power(max_type exp) const {
    runtime_modular res(1), mult(*this);
    while (exp > 0) {
      if (exp & 1) res *= mult;
      mult *= mult;
      exp >>= 1;
    }
    return res;
  }

  runtime_modular operator + (const runtime_modular &rhs) const { return runtime_modular(*this) += rhs; }
  runtime_modular& operator += (const runtime_modular &rhs) { 
    if ((value += rhs.value) >= mod()) value -= mod(); 
    return *this; 
  }

  runtime_modular operator - (const runtime_modular &rhs) const { return runtime_modular(*this) -= rhs; }
  runtime_modular& operator -= (const runtime_modular &rhs) { 
    if ((value += mod() - rhs.value) >= mod()) value -= mod(); 
    return *this; 
  }

  runtime_modular operator * (const runtime_modular &rhs) const { return runtime_modular(*this) *= rhs; }
  runtime_modular& operator *= (const runtime_modular &rhs) { 
    value = (max_type) value * rhs.value % mod();
    return *this;
  }

  runtime_modular operator / (const runtime_modular &rhs) const { return runtime_modular(*this) /= rhs; }
  runtime_modular& operator /= (const runtime_modular &rhs) const { return (*this) *= rhs.inverse(); }

  bool zero() const { return value == 0; }
  bool operator == (const runtime_modular &rhs) const { return value == rhs.value; }
  bool operator != (const runtime_modular &rhs) const { return value != rhs.value; }
  friend std::ostream& operator << (std::ostream &stream, const runtime_modular &rhs) {
    return stream << rhs.value;
  }

};

template <class T>
class factorials {
public:
  using value_type = T;

public:
  std::vector<value_type> fact, fact_inv;

  factorials(int size_ = 200000): fact(size_ + 1), fact_inv(size_ + 1) {
    fact[0] = value_type(1);
    for (int i = 1; i <= size_; ++i) {
      fact[i] = fact[i - 1] * value_type(i);
    }
    fact_inv[size_] = ~fact[size_];
    for (int i = size_; i > 0; --i) {
      fact_inv[i - 1] = fact_inv[i] * value_type(i);
    }
  }

  value_type operator () (int n, int r) const {
    return fact[n] * fact_inv[n - r] * fact_inv[r];
  }

};

struct modular_type { static inline uint32_t value; };
using modint = runtime_modular<modular_type>;

int main() {
  modular_type::value = 998244353;
  factorials<modint> fact(200000);
  int N, M, K;
  std::cin >> N >> M >> K;
  modint ans;
  for (int i = 0; i <= K; ++i) {
    int B = N - i;
    ans += fact(N - 1, B - 1) * modint(M) * modint(M - 1).power(B - 1);
  }
  std::cout << ans << '\n';
  return 0;
}


Measured memory_bytes: 4616