Saturday, January 5, 2019

URI 1075:: SOLUTION

URI Online Judge | 1075

Remaining 2

Read an integer N. Print all numbers between 1 and 10000, which divided by N will give the rest = 2.

Input

The input is an integer (< 10000)

Output

Print all numbers between 1 and 10000, which divided by n will give the rest = 2, one per line.
Input SampleOutput Sample
132
15
28
41
...



[WAIT]
     First of all, think yourself that you have tried enough for the problem. If you did not please read the program once. REMEMBER one think, just believe in yourself.....YOU CAN.....YOU KNOW....


                                                                
See the ANSWER here...


No comments:

Post a Comment