2. Remainders
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard output

It is known that a certain unknown number, when divided by $$$a$$$, leaves a remainder of $$$b$$$. What remainders could be obtained when this same number is divided by $$$c$$$?

Input

Three integers $$$a$$$, $$$b$$$, and $$$c$$$ are provided, each on a separate line.

Output

Output all possible remainders that could result from division by $$$c$$$, listed in ascending order.

Scoring

Subtask 1 (up to 40 points): $$$1 \le a, c \le 100$$$, $$$0 \le b \lt a$$$.

Subtask 2 (up to 60 points): $$$1 \le a, c \le 10^5$$$, $$$0 \le b \lt a$$$.

Example
Input
6
3
4
Output
1 3
Note

In the example, the unknown number could be, for instance, 15 — when divided by 4, it leaves a remainder of 3. Another possible number is 21; when divided by 4, it leaves a remainder of 1. All other valid numbers also yield only 1 or 3 as remainders.