H,W,M = map(int,input().split()) ans = 0 P = 998244353 for s in range(M): tmp = pow(s + 1,H,P) - pow(s,H,P) tmp2 = pow(s+1,W,P) - pow(s,W,P) ans = (ans + tmp * tmp2 % P) % P print(ans)