Module: Workshop - 3: Loop statements "A few facts about Harry Potter"


Problem

6 /7


Numerology Hogwarts

Problem

What is different (if different) from traditional numerology from numerology taught at Hogwarts — unknown. Numerology is one of the disciplines that third-year students can choose for additional study. Homework is known to include essay writing and charting. It is known that Hermione Granger really liked this subject, and the numerology teacher Professor Vector was one of her favorite teachers.

When building charts, you first need to fill in a table with data. Often the data is an arithmetic progression. 

Input 
First, two natural numbers are entered, modulo not exceeding 100, and then the number N (natural, \(2 <= N <= 100\)< /span>) – the total number of numbers in an arithmetic progression (including the first two numbers). Numbers are entered separated by spaces.

Imprint 
Print the N members of the arithmetic progression, separating them with a space.
 

 

Examples
# Input Output
1 2 5 8 2 5 8 11 14 17 20 23