h,w,m = map(int,input().split()) mod = 998244353 ans = 1 bh,bw = 1,1 for i in range(m-1)[::-1]: dif = m-i nh,nw = pow(dif,h,mod),pow(dif,w,mod) ans = (ans+(nh-bh)*(nw-bw))%mod bh,bw = nh,nw print(ans)