#include #include using namespace std; using namespace atcoder; using mint=static_modint<10007>; #define rep(i,n) for(int i=0;i<(int)(n);i++) #define ALL(v) v.begin(),v.end() typedef long long ll; template using V=vector; template using VV=V>; int main(){ ios::sync_with_stdio(false); std::cin.tie(nullptr); ll k,s,n; cin>>k>>s>>n; V F(k+2); F[0]=1,F[1]=1; for(int i=2;i<=k+1;i++) F[i]=F[i-1]+F[i-2]; V A(n+1); A[1]=s; for(int i=2;i<=n;i++){ for(int j=1;j<=k+1;j++){ if(i-j<=0) break; A[i]+=A[i-j]/F[j-1]; } } cout<