#include #include #include using namespace atcoder; using mint = modint998244353; using namespace std; #define rep(i,n) for(int i=0;i<(n);i++) #define Inf 1000000001 int main(){ int H,W,M; cin>>H>>W>>M; mint ans = 0; for(int i=1;i<=M;i++){ mint x = mint(i).pow(H) - mint(i-1).pow(H); mint y = mint(i).pow(W) - mint(i-1).pow(W); ans += x*y; } cout<