Graderpractice for programmers

Back to 254271 Fun of Prog 63 - Review 2

J. Addition sequences

Problem

Write a program that reads in 3 numbers. The 1st number is the starting number. The 2nd number is the increment. The 3rd number is number of times.

Examples

Input

0
4
10

Output

0
4
8
12
16
20
24
28
32
36

Input

2
2
5

Output

2
4
6
8
10

Input

1
2
5

Output

1
3
5
7
9

Submit your solution

java