#include <stdio.h>
int main()
{
int i,N;
scanf("%d",&N);
if(N<10000)
{
for(i=0; i<10000; i++)
{
if(i%N==2)
{
printf("%d
",i);
}
}
}
return 0;
}
Add your comment