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$$$?
Three integers $$$a$$$, $$$b$$$, and $$$c$$$ are provided, each on a separate line.
Output all possible remainders that could result from division by $$$c$$$, listed in ascending order.
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$$$.
634
1 3
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.
| Name |
|---|


