program main
    use,intrinsic :: iso_fortran_env
    implicit none
    integer(int64):: n,m,k,ans,i,c,f
    integer(int64), allocatable:: frac(:), ifrac(:)
    integer(int64),parameter:: md = 998244353

    read*, n,m,k

    allocate(frac(0:n), ifrac(0:n))
    frac(0) = 1
    ifrac(0) = 1
    do i=1,n
        frac(i) = mod(frac(i-1)*i,md)
        ifrac(i) = inv(frac(i),md)
    end do

    do i=0,k
        f = mod(m*factorial(m-1,n-i-1,md),md)
        c = comb(n-1,i,md)
        ans = mod(ans + mod(f*c,md),md)
    end do

    print'(i0)', ans
contains
    function comb(a,b,md) result(ret)
        integer(int64):: a,b,md
        integer(int64):: ret
        ret = mod(mod(frac(a)*ifrac(b),md)*ifrac(a-b),md)
    end function

    function inv(x,md) result(ret)
        integer(int64),intent(in):: x,md
        integer(int64):: ret
        ret = factorial(x,md-2,md)
    end function

    function factorial(a,b,md) result(ret)
        integer(int64):: a,b,md
        integer(int64):: aa,bb,ret
        aa = a
        bb = b
        ret = 1
        do while(bb > 0)
            if (mod(bb,2_8)/=0) ret=mod(ret*aa,md)
            aa=mod(aa*aa,md)
            bb=bb/2
        end do
    end function
end program main