Given first term $a$, count $n$, and common difference $d$, print the $n$ terms of the arithmetic sequence, one per line.
Input
Three integers $a$, $n$, $d$ ($1 \le a \le 10$, $1 \le n \le 100$, $1 \le d \le 10$).
Output
Print the $n$ terms, one per line.
Example 1
Input
2 5 3
Output
2 5 8 11 14
Discussion
Threads about this problem. Spoilers are collapsed; wrap hints in
||double bars||.No discussion yet. Start a thread if something here needs explaining.