#abc127b. [abc127_b]Algae
[abc127_b]Algae
Problem Statement
The development of algae in a pond is as follows.
Let the total weight of the algae at the beginning of the year be gram. For , the following formula holds:
You are given , and . Calculate , , and print them in order.
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print lines. The -th line () should contain as an integer.
Sample Input 1
2 10 20
Sample Output 1
30
50
90
170
330
650
1290
2570
5130
10250
For example, and .
Sample Input 2
4 40 60
Sample Output 2
200
760
3000
11960
47800
191160
764600
3058360
12233400
48933560