#include <bits/stdc++.h> #include <atcoder/all> using namespace std; using namespace atcoder; using ll = long long; using mint = modint998244353; const ll INF=9e18; int main() { ll N,M,K; cin>>N>>M>>K; ll dp[(1<<N)][M]; for (ll a = 0; a < (1<<N); a++){ for (ll b = 0; b < M; b++){ dp[a][b]=0; } } for (ll a = 0; a < (1<<N); a++){ dp[a][0]=1; } for (ll a = 1; a < M; a++){ for (ll b = 0; b < (1<<N); b++){ for (ll c = 0; c < (1<<N); c++){ bitset<5>mae(b); bitset<5>usiro(c); //cout<<b<<' '<<c<<endl; //cout<<"bit"<<(mae&usiro)<<endl; bitset<5>kotae=mae&usiro; ll count=kotae.count(); if(count>=K){ //cout<<"haitta"<<endl; dp[b][a]+=dp[c][a-1]; dp[b][a]%=998244353; } } } } ll hai=0; for (ll a = 0; a < (1<<N); a++){ hai+=dp[a][M-1]; hai%=998244353; } cout<<hai<<endl; }