#include using namespace std; typedef long long int ll; typedef pair pll; typedef vector vll; #define repi(i,a,b) for(ll i=a;i=0;i--) #define MOD 998244353 //debug #define debug(arr) cerr<<#arr<<"(l"<<__LINE__<<") : ";for(auto x:arr)cerr<> N >> M >> K; ll cnt_mat[N+1][N+1]; rep(i, N+1) rep(j, N+1) cnt_mat[i][j] = 0; ll b_tmp; rep(b, 1 << N) { ll cnt_all = 0, cnt_tmp = 0; b_tmp = b; rep(i, N) { if(b_tmp % 2 == 1) cnt_all++; b_tmp /= 2; } b_tmp = b; rep(i, N) { if(b_tmp % 2 == 1) cnt_tmp++; if(cnt_tmp >= K) cnt_mat[i+1][cnt_all]++; b_tmp /= 2; } } ll result[N+1]; rep(i, N+1) result[i] = 0; rep(b, 1 << N) { ll cnt = 0; ll b_tmp = b; rep(i, N) { if(b_tmp % 2 == 1) cnt++; b_tmp /= 2; } if(cnt >= K) result[cnt]++; } repi(i, 1, M) { ll result_tmp[N+1]; rep(j, N+1) result_tmp[j] = 0; rep(j, N+1) { rep(k, N+1) { result_tmp[k] += result[j] * cnt_mat[j][k]; result_tmp[k] %= MOD; } } copy(result_tmp, result_tmp+N+1, result); } ll ans = 0; rep(i, N+1) { ans += result[i]; ans %= MOD; } if(M == 1) { cout << (1 << N) << endl; } else { cout << ans << endl; } return 0; }