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