# -*- coding: utf-8 -*- H, W, M = map(int,input().split()) mod = 998244353 powH = [pow(i, H, mod) for i in range(M+1)] powW = [pow(i, W, mod) for i in range(M+1)] ans = 0 for i in range(1, M+1): ans += (powH[i] - powH[i-1] + mod) * (powW[i] - powW[i-1] + mod) ans %= mod print(ans)