'''Write a python program, which receives a start number, an end number and a step. \
Write a simple for loop, which prints all the numbers from the start number to the end number, using the specified step.\
Print the numbers on separate lines.
Use the range() function.'''

for i in range(int(input()), int(input()), int(input())):
    print(i)


'''Examples:

Input
1
10
1

Output
1
2
3
4
5
6
7
8
9

Input
-20
20
2

Output
-20
-18
-16
-14
-12
-10
-8
-6
-4
-2
0
2
4
6
8
10
12
14
16
18'''
'''Write a python program, which receives a start number, an end number and a step. \
Write a simple for loop, which prints all the numbers from the start number to the end number, using the specified step.\
Print the numbers on separate lines.
Use the range() function.'''

for i in range(int(input()), int(input()), int(input())):
    print(i)


'''Examples:

Input
1
10
1

Output
1
2
3
4
5
6
7
8
9

Input
-20
20
2

Output
-20
-18
-16
-14
-12
-10
-8
-6
-4
-2
0
2
4
6
8
10
12
14
16
18'''
Write a python program, which receives a start number, an end number and a step. \ Write a simple for loop, which prints all the numbers from the start number to the end number, using the specified step.\ Print the numbers on separate lines. Use the range() function. Examples:  Input 1 10 1  Output 1 2 3 4 5 6 7 8 9  Input -20 20 2  Output -20 -18 -16 -14 -12 -10 -8 -6 -4 -2 0 2 4 6 8 10 12 14 16 18