Write a program that reads a sequence of prime numbers
and, for each one, prints the next prime number.
Input is all natural numbers,
and consists of a sequence of prime numbers
ended with a non-prime number.
For every given prime number,
print in a line the next prime number.