The package for this problem was not updated by the problem writer or Codeforces administration after we've upgraded the judging servers. To adjust the time limit constraint, a solution execution time will be multiplied by 2. For example, if your solution works for 400 ms on judging servers, then the value 800 ms will be displayed and used to determine the verdict.

Virtual contest is a way to take part in past contest, as close as possible to participation on time. It is supported only ICPC mode for virtual contests.
If you've seen these problems, a virtual contest is not for you - solve these problems in the archive.
If you just want to solve some problem from a contest, a virtual contest is not for you - solve this problem in the archive.
Never use someone else's code, read the tutorials or communicate with other person during a virtual contest.

No tag edit access

The problem statement has recently been changed. View the changes.

×
A. Two Bags of Potatoes

time limit per test

1 secondmemory limit per test

256 megabytesinput

standard inputoutput

standard outputValera had two bags of potatoes, the first of these bags contains *x* (*x* ≥ 1) potatoes, and the second — *y* (*y* ≥ 1) potatoes. Valera — very scattered boy, so the first bag of potatoes (it contains *x* potatoes) Valera lost. Valera remembers that the total amount of potatoes (*x* + *y*) in the two bags, firstly, was not gerater than *n*, and, secondly, was divisible by *k*.

Help Valera to determine how many potatoes could be in the first bag. Print all such possible numbers in ascending order.

Input

The first line of input contains three integers *y*, *k*, *n* (1 ≤ *y*, *k*, *n* ≤ 10^{9}; ≤ 10^{5}).

Output

Print the list of whitespace-separated integers — all possible values of *x* in ascending order. You should print each possible value of *x* exactly once.

If there are no such values of *x* print a single integer -1.

Examples

Input

10 1 10

Output

-1

Input

10 6 40

Output

2 8 14 20 26

Codeforces (c) Copyright 2010-2022 Mike Mirzayanov

The only programming contests Web 2.0 platform

Server time: May/19/2022 19:25:57 (g2).

Desktop version, switch to mobile version.

Supported by

User lists

Name |
---|