import java.util.*; public class Main { public static void main(String[] args) { Scanner sc=new Scanner(System.in); int mod=1000000009; int n=sc.nextInt(); int k=(int)(10000000000L/111111); long m[]=new long[n]; for(int i=0;i=0)dp[j]=(dp[j]+dp[j-i])%mod; } } for(int i=0;i