#include <stdio.h> 
#include<iostream>
int main()
{
	int x,y,z;
	int m;
//	int a[m];

	printf("enter a value for x,y and z\n");
	scanf("%d %d %d",&x,&y,&z);
	for(int i=x;i<=y;i++)
	{
	/*	a[x]=i;
		printf("%d",a[x]);*/
		if(i%z==0)
		{
			printf("%d",i);
		}
		
	}
	printf("this is the numbers between %d ",x,"and %d ",y);
	return 0;
}