#include #include using mint = atcoder::modint998244353; // using mint = atcoder::modint1000000007; using namespace atcoder; using namespace std; #define rep(i,n) for (int i = 0; i < n; i++) using ll = long long; set abc = {'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'}; const int inf =1e9; const ll infl = 4e18; template bool chmax(T &a, const T& b) {if (a < b) {a = b; return true;}return false; } template bool chmin(T &a, const T& b) {if (a > b) {a = b; return true;}return false;} int main(){ int N,M,K; cin>>N>>M>>K; vector> dp(M,vector(1<=K) dp[0][i]=1; } for (int i=1;i=K){ dp[i][j]+=dp[i-1][k]; } } } } mint ans=0; rep(i,1<