#0000AA

Nextprimes

For a given integer N (1 <= N <= 2000) you have to find K (1 <= K <= 20) prime numbers that are greater than N.



Input Standard input will contain two integers, N and K.


Output On the standarad output you should print K prime numbers that are greater than N.


Example:

Input:
5 5
Output:
7
11
13
17
19


Submit solution

Sign in to submit a solution.