#include <stdio.h>
/************found************/
int fun(x,y,z )
{ int i,t ,n ,m;
i = 1 ;
t=i%x;
m=i%y ;
n=i%z;
while(t!=0||m!=0||n!=0)
{ i = i+1;
t=i%x;
m=i%y;
n=i%z;
}
/************found************/
return i;
}
main( )
{ int x1,x2,x3,j ;
printf("Input x1 x2 x3: "); scanf("%d%d%d",&x1,&x2,&x3);
printf("x1=%d, x2=%d, x3=%d \n",x1,x2,x3);
j=fun(x1,x2,x3);
printf("The minimal common multiple is : %d\n",j);
}