j;i;main(m,b){for(;m||puts(b)<6;)for(j=m=2,sprintf(b,"%d",i++);j<12;)strchr(b,j+++46)&&m--;}