import java.util.*; import java.util.function.LongToDoubleFunction; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long maxm = (long)1e+10; maxm = maxm/111111; long mod = (long)1e9+9; long[] dp = new long[(int)(maxm+1)]; dp[0] = 1; for(int j=1;j<=9;j++){ for(int i=0;i