Contest Duration: - (local time) (100 minutes) Back to Home
A - Arithmetic Progression /

Time Limit: 2 sec / Memory Limit: 1024 MB

### 問題文

なお、そのような等差数列が存在する入力のみが与えられます。

### 制約

• 1 \leq A \leq B \leq 100
• 1\leq D \leq 100
• 初項が A、末項が B、公差が D であるような等差数列が存在する
• 入力は全て整数

### 入力

A B D


### 入力例 1

3 9 2


### 出力例 1

3 5 7 9


### 入力例 2

10 10 1


### 出力例 2

10


Score: 100 points

### Problem Statement

Print an arithmetic sequence with first term A, last term B, and common difference D.

You are only given inputs for which such an arithmetic sequence exists.

### Constraints

• 1 \leq A \leq B \leq 100
• 1 \leq D \leq 100
• There is an arithmetic sequence with first term A, last term B, and common difference D.
• All input values are integers.

### Input

The input is given from Standard Input in the following format:

A B D


### Output

Print the terms of the arithmetic sequence with first term A, last term B, and common difference D, in order, separated by spaces.

### Sample Input 1

3 9 2


### Sample Output 1

3 5 7 9


The arithmetic sequence with first term 3, last term 9, and common difference 2 is (3,5,7,9).

### Sample Input 2

10 10 1


### Sample Output 2

10


The arithmetic sequence with first term 10, last term 10, and common difference 1 is (10).