void generateGaps(unsigned long long int start,int count){

    int counter = 0;
    unsigned long long int i = start;
    char str[100];

    printf(,count,start);

    while(counter<count){
        sprintf(str,,i);
        if((i%(10*(str[0]-'0') + i%10))==0L){
            printf(,counter+1,i);
            counter++;
        }
        i++;
    }
}

int main()
{
    unsigned long long int i = 100;
    int count = 0;
    char str[21];

    generateGaps(100,30);
    printf();
    generateGaps(1000000,15);
    printf();
    generateGaps(1000000000,15);
    printf();

    return 0;
}