int main()
{ int x = 7; /* According to the meaning of the question, X is an odd number, which is a multiple of 7, so every step can cross 14 and make a cycle */
while(x%3! =2||x%5! =4||x%6! =5)/* The other three conditions are cyclic conditions */
x = x+ 14;
printf("%d\n ",x);
}
Results: 1 19