#include using namespace std; #define ALL(x) x.begin(),x.end() #define rep(i,n) for(int i=0;i<(n);i++) #define debug(v) cout<<#v<<":";for(auto x:v){cout<bool chmax(T &a,const T &b){if(abool chmin(T &a,const T &b){if(b>n; ll dp[n+1][10]; rep(i,n+1)rep(j,10)dp[i][j]=0; dp[0][0]=1; rep(i,n){ for(int j=0;j<10;j++){ for(int k=j;k<10;k++){ dp[i+1][k]+=dp[i][j]; dp[i+1][k]%=mod; } } } ll ans=0; rep(i,10){ ans+=dp[n][i]; ans%=mod; } cout<