#include <stdio.h>
int main()
{
int min,max,factor,i;
scanf("%d%d%d",&min,&max,&factor);
if(factor > max)
printf("\n");
else
{
if(min % factor == 0)
min = min / factor;
else
min = min / factor + 1;
// if(max % factor == 0)
// max = max / factor;
// else
max = max / factor;
for(i = min;i < max;i++)
printf("%d ",factor * i);
printf("%d\n",factor * i);
}
return 0;
}
0.0分
0 人评分