import java.util.Arrays; import java.util.Scanner; public class Main41 { public static void main(String[] args) { Main41 p = new Main41(); } public Main41() { solve(); } private final long MOD = (long) (1.0e9+9); public void solve() { long[] dp = new long[(int) ((1.0e10+111111)/111111)]; Arrays.fill(dp, 1); for(int i=1;i<=9;i++){ for(int j=0;j