Problem:


Score : 200 points

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 i be x_i gram. For i≥2000, the following formula holds:

x_{i+1} = rx_i - D

You are given r, D and x_{2000}. Calculate x_{2001}, ..., x_{2010} and print them in order.

Constraints

2 ≤ r ≤ 5

1 ≤ D ≤ 100

D < x_{2000} ≤ 200

All values in input are integers.

Input

Input is given from Standard Input in the following format:

r D x_{2000}

Output

Print 10 lines. The i-th line (1 ≤ i ≤ 10) should contain x_{2000+i} as an integer.

Sample Input 1

2 10 20

Sample Output 1

30
50
90
170
330
650
1290
2570
5130
10250

For example, x_{2001} = rx_{2000} - D = 2 \times 20 - 10 = 30 and x_{2002} = rx_{2001} - D = 2 \times 30 - 10 = 50.

Sample Input 2

4 40 60

Sample Output 2

200
760
3000
11960
47800
191160
764600
3058360
12233400
48933560



Sample input:
2 10 20


Sample output:
30
50
90
170
330
650
1290
2570
5130
10250

Submission status: Accepted

Solution code:
r, D, x2000 = map(int, input().split())

for _ in range(0, 10):
    x2000 = r*x2000-D
    print(x2000)

Submission status: Accepted

Solution code:
r,d, x =map(int,input().split())
for k in range(10):
    x = r*x -d
    print(x)

Submission status: Accepted

Solution code:
r,D,A=map(int,input().split())
i=0
while i<10:
    B=r*A-D
    print(B)
    A=B
    i+=1

Submission status: Accepted

Solution code:
#
import sys
import math
import numpy as np
import itertools


# いくつか入力
r, d, x = (int(i) for i in input().split())  

for i in range(10):
    x = x * r -d
    if x < 0 :
        x=0
    print(x)

Submission status: Accepted

Solution code:
a, b, c = (int(i) for i in input().split()) 

for i in range(10):
  c = a * c - b
  print(int(c))

Submission status: Accepted

Solution code:
r, D, x_first = map(int, input().split())

x = list()
x.append(x_first)

for i in range(0, 10):
    x_ans = r*x[i] - D
    x.append(x_ans)
    print(x[i+1])

Submission status: Accepted

Solution code:
r, d, x = map(int, input().split())

for i in range(10):
    x = r*x - d
    print(x)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

def main():
	r, d, x = map(int, input().split())
	for i in range(10):
		x = r * x - d
		print(x)

if __name__ == "__main__":

	main()

Submission status: Accepted

Solution code:
r, D, x = map(int, input().split())
for i in range(10):
  x=r*x-D
  print(x)

Submission status: Accepted

Solution code:
r,d,x=map(int,input().split())
for i in range(10):
    x=x*r-d
    print(x)

Submission status: Accepted

Solution code:
r, D, x = map(int, input().split())

XXX = [x]

for i in range(10):
    XXX.append(r*XXX[-1] - D)

for i in range(1, len(XXX)):
    print(XXX[i])

Submission status: Accepted

Solution code:
r,D,x_2000 = map(int,input().split())
for i in range(1,11):
  print(int((r ** i) * (x_2000 + D/(1-r)) - D/(1-r)))

Submission status: Accepted

Solution code:
r, D, x = map(int, input().split())

for i in range(10):
    temp = r*x-D
    print(r*x-D)
    x = temp

Submission status: Accepted

Solution code:
r, D, x2000 = map(int, input().split())
 
def rec(n):
    if n == 0:
        return x2000
    else:
        return r * rec(n-1) - D


for i in range(1, 11):
    print(rec(i))

Submission status: Accepted

Solution code:
r, D, x = map(int, input().split())

for i in range(10):
  
  print(r*x-D)
  x = r*x-D

Submission status: Accepted

Solution code:
r, D, x = map(int,input().split())
for _ in range(10):
  x = x * r - D
  print(x)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Thu Jun  6 21:15:08 2019

@author: hisaki
"""

import numpy as np

r,D,x_2000 = map(int,input().split())

def f(i):
    global x_2000
    global D
    global r
    if i == 2000:
        return x_2000
    temp = f(i-1)*r - D
    print (temp)
    return temp
  
    

f(2010)

Submission status: Accepted

Solution code:
r, d, x = map(int, input().split())
for i in range(10):
  x = x * r - d
  print(x)

Submission status: Accepted

Solution code:
r,d,x=map(int,input().split())
o=x
for i in range(1,11):
    n=r*o-d
    print(n)
    o=n

Submission status: Accepted

Solution code:
r, D, x=map(int,input().split())

for i in range(10):
  x = r*x - D
  print(x)

Submission status: Accepted

Solution code:
r,D,x=map(int,input().split())


for i in range(10):

    print(r*x-D)
    x=r*x-D

Submission status: Accepted

Solution code:
r, d , x = map(int, input().split())
for i in range(10):
    x = (r * x) - d
    print(x)

Submission status: Accepted

Solution code:
# coding: utf-8

n = [int(i) for i in input().split()]
for i in range(10):
    print(n[0]*n[2] - n[1])
    n[2] = n[0]*n[2] - n[1]

Submission status: Accepted

Solution code:
r,d,x = map(int,input().split())
if (2 <= r <= 5 and 1 <= d <= 100 and d < x <=200):
   for i in range(1,11):
       x = x * r
       x = x - d
       print(int(x))

Submission status: Accepted

Solution code:
r,D,a=map(int,input().split())
for i in range(10):
   a=r*a-D
   print(a)

Submission status: Accepted

Solution code:
r,D,x_2000=map(int,input().split())
x=[x_2000]
for i in range(10):
  y=x[i]*r-D
  x.append(y)
  print(x[i+1])

Submission status: Accepted

Solution code:
r,D,x_s = map(int,input().split())
x = [x_s]
for i in range(10):
 x += [r*x[i]-D]
 print(x[i+1])

Submission status: Accepted

Solution code:
r, D, *x = map(int, input().split())
for i in range(1,11):
    x.append(r*x[i-1]-D)
    print(x[i])

Submission status: Accepted

Solution code:
r,d,x = map(int, input().split())
for i in range(10):
  x = r*x - d
  print(x)

Submission status: Accepted

Solution code:
r,D,x = map(int,input().split())
for i in range(1,11):
  print(int(D/(r-1)+(x-D/(r-1))*r**i))

Submission status: Accepted

Solution code:
r,D,x=map(int,input().split())
for i in range(10):
    print(x*r-D)
    x=x*r-D;

Submission status: Accepted

Solution code:
r, d, x = map(int, input().split())
for _ in range(2001, 2011):
    x = x * r - d
    print(x)

Submission status: Accepted

Solution code:
def main():
    r, d, x = [int(i) for i in input().split()]
    for i in range(10):
        x = r * x - d
        print(x)

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
#!/usr/bin/env python3

if __name__ == '__main__':
    r, d, x = list(map(int, input().split()))
    ans = x
    for _ in range(10):
        ans = r * ans - d
        print(ans)

Submission status: Accepted

Solution code:
# -*- Coding: utf-8 -*-

r,D,x = map(int,raw_input().split())

for i in xrange(10):
	x = r*x-D
	print x

Submission status: Accepted

Solution code:
r, d, x_2000 = list(map(int, input().split()))
a = x_2000
for i in range(10) :
    a = r*a - d
    print(a)

Submission status: Accepted

Solution code:
lst = input().split()
r = int(lst[0])
D = int(lst[1])
x = []
x.append(int(lst[2]))

for i in range(10):
    x.append(r*x[i] - D)
    print(x[i+1])

Submission status: Accepted

Solution code:
r,d,x = map(int,input().split())
for i in range(10):
    x = r*x -d
    print(x)

Submission status: Accepted

Solution code:
r, D, x2000 = [int(x) for x in input().split()]
x = x2000

for i in range(10):
    x = x * r - D
    print(x)

Submission status: Accepted

Solution code:
r, D, x = map(int, input().split())
for i in range(10):
    x = (r * x) - D
    print(x)

Submission status: Accepted

Solution code:
r,d,x = [int(i) for i in input().split()]

for i in range(10):
  x = r * x - d
  print(x)

Submission status: Accepted

Solution code:
[r,D,x]=list(map(int,input().split(" ")))
for i in range(0,10):
    x=r*x-D
    print(x)

Submission status: Accepted

Solution code:
r, D, x_2000 = map(int, input().split())

def f(r, D, x_2000):
    re = x_2000 * r - D
    return re

for i in range(10):
    ans = f(r, D, x_2000)
    x_2000 = ans
    print(ans)

Submission status: Accepted

Solution code:
r, D, x = [int(_) for _ in input().split()]
for _ in range(10):
    x = r * x - D
    print(x)

Submission status: Accepted

Solution code:
r, d, x2000 = [int(v) for v in input().split()]
x = x2000
for i in range(10):
  x = r * x - d
  print(x)

Submission status: Accepted

Solution code:

r, D, x2000 = map(int, input().split())
x = [x2000]

for i in range(0,11):
    x.append(r * x[i] - D)
    if ( i != 0):
        print(x[i])

Submission status: Accepted

Solution code:
def p(a):
    print(a)

r,D,x = map(int,input().split())

for i in range(10):
    x=r*x-D
    p(x)

Submission status: Accepted

Solution code:
r,d,x = map(int,input().split())

for i in range(10):    
    print(r*x-d)
    x = r*x-d

Submission status: Accepted

Solution code:
#coding:utf-8
L = list(map(int,input().split()))
r = L[0]
D = L[1]
x = L[2]

for i in range(10):
    x = x*r -D
    print(x)

Submission status: Accepted

Solution code:
r, D, x = map(int, input().split())
for i in range(10):
  x = x*r - D
  print(x)

Submission status: Accepted

Solution code:
r,D,x = map(int,input().split())  
for i in range(10):
    x=r*x-D
    print(x)

Submission status: Accepted

Solution code:
r,D,x = [int(x) for x in input().split(' ')]

for i in range(10):
    x = r*x - D
    print(x)

Submission status: Accepted

Solution code:
r,d,x = map(int, input().split())
molist = []
molist.append(x)

for i in range(10):
	mo = r * molist[i] - d
	molist.append(mo)
del molist[0]
for mo in molist:
	print(mo)

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline

def algae(r, d, weight):

    for _ in range(10):
        weight_next = r*weight-d
        print(weight_next)
        weight = weight_next

def main():
    r,d,x = [int(i) for i in input().split()]
    algae(r,d,x)
    
# main関数呼び出し
if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
def solve():
    multiConst, decreaseConst, x2000 = map(int, input().split())
    ans = x2000
    for i in range(10):
        ans = (multiConst * ans) - decreaseConst
        print(ans)
solve()

Submission status: Accepted

Solution code:
r,D,x = map(int,input().split())

for _ in range(10):
    x = r * x - D
    print(x)

Submission status: Accepted

Solution code:
nums = [int(e) for e in input().split()]

r = nums[0]
d = nums[1]
x = nums[2]

ans = 0

ans = x * r - d
print(ans)

ans = ans * r - d
print(ans)
ans = ans * r - d
print(ans)
ans = ans * r - d
print(ans)
ans = ans * r - d
print(ans)
ans = ans * r - d
print(ans)
ans = ans * r - d
print(ans)
ans = ans * r - d
print(ans)
ans = ans * r - d
print(ans)
ans = ans * r - d
print(ans)

Submission status: Accepted

Solution code:
s = list(map(int, input().split()))
r = s[0]
D = s[1]
x = s[2]
for i in range(10):
    x = r * x - D
    print(x)

Submission status: Accepted

Solution code:
a,b,c = map(int, raw_input().split())

for i in range(10):
    c =a*c-b
    print(c)

Submission status: Accepted

Solution code:
r, d, x_init = map(int, input().split())

ans = r*x_init - d
print(ans)
for i in range(1, 10):
    ans = r*ans - d
    print(ans)

Submission status: Accepted

Solution code:
r,D,x = map(int, input().split())

def nextWeight(n):
    if n == 0:
        return x
    else:
        return r*nextWeight(n-1)-D

for i in range(1,11):
    print(nextWeight(i))

Submission status: Accepted

Solution code:

r, d, x = map(int, input().split())

for _ in range(10):
    x = r*x - d
    print(x)

Submission status: Accepted

Solution code:
import numpy as np
r, D, x = (int(i) for i in input().split()) 
A = np.zeros(10)
for j in range(10):
  x = r*x-D
  print(x)

Submission status: Accepted

Solution code:
r,D,x = map(int,input().split())

for i in range(2000,2010):
  xnex = r*x - D
  x = xnex
  print(x)

Submission status: Accepted

Solution code:
r, D, x = map(int,input().split())

for n in range(10):
    x = r*x-D
    print(x)

Submission status: Accepted

Solution code:
r,d,x=map(int,input().split())
pre=x
for i in range(10):
  pre=r*pre-d
  print(pre)

Submission status: Accepted

Solution code:
r, d, x_f = [int(i) for i in input().split()]

x = x_f
for i in range(10):
  x = r * x - d
  print(x)

Submission status: Accepted

Solution code:
r,D,x2000 = map(int,input().split())
List = [x2000]
for i in range(10):
  x = r*List[i] - D
  List.append(x)
  print(List[i+1])

Submission status: Accepted

Solution code:
r,D,x2000=map(int,input().split())
x=x2000
for i in range(10):
  x=r*x-D
  print(x)

Submission status: Accepted

Solution code:
r, D, x_2000 = map(int, input().split())
x_i = x_2000
for i in range(1, 11):
    x_i = x_i*r - D
    print (x_i)

Submission status: Accepted

Solution code:
r, d, x = list(map(int, input().split()))

for i in range(10):
    x = r * x - d
    print(x)

Submission status: Accepted

Solution code:
r, d, x_2000 = map(int, input().split())
x_n = x_2000
for i in range(10):
    x_n1 = r * x_n -d
    print(x_n1)
    x_n = x_n1

Submission status: Accepted

Solution code:
r, D, x2000 = map(int, input().split())

tmp = x2000
for i in range(10):
    tmp = tmp*r - D
    print(tmp)

Submission status: Accepted

Solution code:
n=list(map(int,input().split()))
x=n[0]*n[2]-n[1]
d=[]
d.append(x)
for i in range(9):
    a=d[i]*n[0]-n[1]
    d.append(a)
for i in range(10):
    print(d[i])

Submission status: Accepted

Solution code:
r,D,first = map(int, input().split())
tmp = first
for i in range(10):
    ans = (r * tmp) - D 
    print(ans)
    tmp = ans

Submission status: Accepted

Solution code:
r, d, x = map(int, input().split())

for count in range(10):
    x = r*x-d
    print(x)

Submission status: Accepted

Solution code:
r, d, x = map(int, input().split())

for count in range(10):
    xi = r*x-d
    print(xi)
    x = xi

Submission status: Accepted

Solution code:
r, d, x = list(map(int, input().split()))

for count in range(10):
    xi = r*x-d
    print(xi)
    x = xi

Submission status: Accepted

Solution code:
r, d, x_2000 = list(map(int,input().split()))
x1= x_2000
for i in range(10):
    x1 =x1*r-d
    print(x1)

Submission status: Accepted

Solution code:
r, D, x = map(int, input().split())

for i in range(1, 11):
    x = r * x - D
    print(x)

Submission status: Accepted

Solution code:
r,d,x=input().split()
m = int(x)
for i in range(1, 11):
    m = int(r) * int(m) - int(d)
    print(int(m))

Submission status: Accepted

Solution code:
import sys
inp = list(map(int,input().split()))
r, D, x = inp[0], inp[1], inp[2]

for i in range(10):
  x_ = x * r -D
  print(x_)
  x = x_

Submission status: Accepted

Solution code:
import math
import fractions
import copy
#以下てんぷら
def j(q):
    if q==1: print("Yes")
    elif q == 0:print("No")
    exit(0)
rem = pow(10,9)+7
"""
def ct(x,y):
    if (x>y):print("+")
    elif (x<y): print("-")
    else: print("?")
"""

def ip():
    return int(input())
def printrow(a):
    for i in a:
        print(i)
def combinations(n,r):
    if n<r:return 0
    return math.factorial(n) // (math.factorial(n - r) * math.factorial(r))
def permutations(n,r):
    if n<r:return 0
    return math.factorial(n) // math.factorial(n - r)
def lcm(x, y):
    return (x * y) // fractions.gcd(x, y)


#n = ip()                                     #入力整数1つ
r,x,y= (int(i) for i in input().split())       #入力整数横2つ以上
#a = [int(i) for i in input().split()]        #入力整数配列
#a = input()                                  #入力文字列
#a = input().split()                          #入力文字配列
#n = ip()                      #入力セット(整数改行あり)(1/2)
#a=[ip() for i in range(n)]    #入力セット(整数改行あり)(2/2)
#a=[input() for i in range(n)]    #入力セット(整数改行あり)(2/2)
#jの変数はしようできないので注意
#全足しにsum変数使用はsum関数使用できないので注意
#a.pop(0)は10^5あるときTLEしやすい!注意!
#これを消すとなぜかWAになる呪い
for i in range(10):
    y = r*y-x
    print(y)

Submission status: Accepted

Solution code:
r, D, x = map(int, input().split(" "))

for i in range(1, 11):
  x = x * r - D
  print(x)

Submission status: Accepted

Solution code:
r,d,x = map(int,input().split(' '))
i = 0
ans = ''
while i < 10:
    x = int(x*r - d)
    ans += str(x) + '\n'
    i += 1
print(ans[:-1])

Submission status: Accepted

Solution code:
r,d,x=map(int, input().split()) 
for i in range(10):
   ans = r*x-d
   x=ans
   print(ans)

Submission status: Accepted

Solution code:
# -*- coding utf-8 -*-
r, D, x = map(int, input().split())

for i in range(10):
    x = r * x - D
    print(x)

Submission status: Accepted

Solution code:
r,D,x = map(int,input().split())
for i in range(10):
  x = r*x - D
  print(x)

Submission status: Accepted

Solution code:
r,D,X2000 = map(int,input().split())
ans = []
ans.append(X2000)
for i in range(1,11):
    ans.append(ans[i - 1] * r - D)
    print(ans[i])

Submission status: Accepted

Solution code:
r, d, x = map(int, input().split())
for _ in range(10):
    x = x * r - d
    print(x)

Submission status: Accepted

Solution code:
r, d, x = input().split()
intr, intd,intx = int(r), int(d), int(x)
mgrm = []
mgrm.append(intx)

for i in range(1, 11):
    mgrm.insert(i, intr * mgrm[i - 1] - intd)
    print(mgrm[i])

Submission status: Accepted

Solution code:
r,D,X = map(int, input().split())
ope_num = 10

while ope_num > 0:
  X = (r * X) - D
  print(X)
  
  ope_num -= 1

Submission status: Accepted

Solution code:
r, D, x2000 = map(int, input().split())
x = 0
xx = 0
x = r * x2000 - D
print(x)
for i in range (9):
    xx = r * x - D
    print(xx)
    x = xx

Submission status: Accepted

Solution code:
r,D,x=map(int,input().split())
ans=r*x-D
for i in range(10):
    if i==0:
        print(ans)
    else:
        ans=r*ans-D
        print(ans)

Submission status: Accepted

Solution code:
A,B,C = list(map(int,input().split()))
for i in range(10):
    C = A*C-B    
    print(C)

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())
sum = int(0)
for i in range(10):
	sum = a * c - b
	print(sum)
	c = sum

Submission status: Accepted

Solution code:
r,D,x=map(int,input().split())
for i in range(10):
	x=r*x-D
	print(x)

Submission status: Accepted

Solution code:
r, d, x = map(int, input().split())
for i in range(10):
    print(r * x - d)
    x = r * x - d

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())
d = []
d.append(c)
for i in range(10):
    print(a*d[i]-b)
    d.append(a*d[i]-b)

Submission status: Accepted

Solution code:
r, D, x = [int(rdx) for rdx in input().split()]
for i  in range(10):
  x = r*x - D
  print(x)

Submission status: Accepted

Solution code:
def solve(r, d, x):
    for i in range(10):
        x = r * x - d
        print(x)

r, d, x = map(int, input().split())
solve(r, d, x)

Submission status: Accepted

Solution code:
r, d, x = map(int, input().split(" "))
for i in range(10):
  x = r * x - d
  print(x)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
r,d,x=map(int,input().split())
for _ in range(10):
  x=r*x-d
  print(int(x))

Submission status: Accepted

Solution code:
r,d,x = map(int,input().split())
for i in range(10):
	x = x * r - d
	print(x)

Submission status: Accepted

Solution code:
r,D,xi=map(int,input().split())
for i in range(10):
    xi = r*xi-D
    print(xi)

Submission status: Accepted

Solution code:
#ABC 127 B
R,D,X=map(int,input().split())
for i in range(10):
    X=R*X-D
    print(X)

Submission status: Accepted

Solution code:
r, D, x_2000 = [int(data) for data in input().split()]
prev_x = x_2000

for i in range(1, 11):
  x = r*prev_x - D
  print(x)
  prev_x = x

Submission status: Accepted

Solution code:
r,D,X=map(int,input().split())
i=0
ans=r*X-D
print(ans)
while i<9:
    ans=ans*r-D
    print(ans)

    i+=1

Submission status: Accepted

Solution code:
r,d,x=map(int,input().split())
ans=[0]*10
ans[0]=r*x-d
for i in range(9):
    ans[i+1]=r*ans[i]-d
for i in ans:
    print(i)

Submission status: Accepted

Solution code:
r,d,x = map(int,input().split())

for i in range(10):
 z = (r * x) - d
 x = z
 print(z)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3


def calc(x1, r, D):
    return r * x1 - D


# Generated by 1.1.4 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    r, d, x = list(map(int, input().split(" ")))
    for _ in range(10):
        x = calc(x, r, d)
        print(x)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
r,d,x = map(int,input().split())

total = x

for i in range(10):
    total = (r * total) - d
    print(total)

Submission status: Accepted

Solution code:
r,D,x = list(map(int, input().split()))

for i in  range(10):
    new =  r *x - D
    print(new)
    x = new

Submission status: Accepted

Solution code:
r,D,x_2000 = map(int,input().split())

tmp = x_2000
for i in range(10):
    tmp = r * tmp - D
    print(tmp)

Submission status: Accepted

Solution code:
r,D,x=map(int,input().split())
for i in range(10):
	x=r*x-D
	print(x)

Submission status: Accepted

Solution code:
r, D, x2000 = map(int, input().split())

x = x2000

for i in range(10):
  x = r * x - D
  print(int(x))

Submission status: Accepted

Solution code:
def read_input():
    a,b,c=map(int, input().split())
    if 2<=a<=5 and 1<=b<=100 and b<c<=200:
        return a,b,c
    else :
        print("Error")
        exit()

def main():
    num = 10

    r,D,x=read_input()
    sum_x=x

    for i in range(num):
        sum_x=r*sum_x-D
        print(sum_x)
        sum_x=sum_x



if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
r, D, x = map(int, input().split())

for i in range(10):
  x=r*x - D
  print(x)

Submission status: Accepted

Solution code:
r , D , x0 = map(int,input().split())

xk = x0

for i in range(10) :
    xk = r * xk - D
    print(int(xk))

Submission status: Accepted

Solution code:
r, d, x = map(int, input().split())
for i in range(10):
        x = r*x - d
        print(x)

Submission status: Accepted

Solution code:
x,y,z=map(int,input().split())
for _ in range(10):
  z=z*x-y
  print(z)

Submission status: Accepted

Solution code:
r,d,x=map(int,input().split())
da=[x]
for i in range(1,11):
    da.append(r*da[-1]-d)
for i in range(1,len(da)):
    print(da[i])

Submission status: Accepted

Solution code:
r,D,x =map(int,input().split())
X = []
X.append(x)
for i in range(10):
    X.append(r*X[i] - D)
for i in range(1,11):
    print (X[i])

Submission status: Accepted

Solution code:
r, D, x = [int(_) for _ in input().split()]

for i in range(10):
    x = r * x - D
    print(x)

Submission status: Accepted

Solution code:
r,D,x = map(int,input().split())
for i in range(10):
    print(r*x-D)
    x = r*x-D

Submission status: Accepted

Solution code:
r, D, X = map(int, input().split())

for _ in range(10):
	X = r * X - D
	print(X)

Submission status: Accepted

Solution code:
import sys
r,d,x = map(int,sys.stdin.readline().split())
for i in range(10):
    x = r*x - d
    print x

Submission status: Accepted

Solution code:
r, D, x2000 = map(int, input().split())

c = x2000
for _ in range(2001, 2010+1):
  c = r * c - D
  print(c)

Submission status: Accepted

Solution code:
r, D, x2 = map(int, input().split())

for _ in range(0, 10):
    nx = r * x2 - D
    print(nx)
    x2 = nx

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline

A, B, C = map(int, input().split())

t = A * C - B
for i in range(1, 11):
    print(t)
    t = A * t - B

Submission status: Accepted

Solution code:
def main():
	r, D, xi = map(int, input().split())
	x = xi
	for _ in range(10):
		x = r*x - D
		print(x)


if __name__ == '__main__':
	main()

Submission status: Accepted

Solution code:
r, d, x = map(int, input().split())
for _ in range(10):
  x = x*r-d
  print(x)

Submission status: Accepted

Solution code:
r,D,x = list(map(int,input().split(' ')))
for _ in range(10):
    print(r*x-D)
    x = r*x-D

Submission status: Accepted

Solution code:
cmdvar=input()
in_plited=cmdvar.split()

r=int(in_plited[0])
D=int(in_plited[1])
x_2000=int(in_plited[2])

i=0
while i<10:
    x_2000=r*x_2000-D
    ans=x_2000
    print(ans)
    i=i+1

Submission status: Accepted

Solution code:
r,D,x=map(int,input().split())
X=0
for i in range(10):
  X=x*r-D
  print(X)
  x=X

Submission status: Accepted

Solution code:
from sys import stdin
r, d, x = [int(x) for x in stdin.readline().rstrip().split()]
for i in range(10):
    x = (r * x) - d
    print(x)

Submission status: Accepted

Solution code:
r, D, x = map(int, input().split())

for i in range(10) : 
    y = r*x -D
    print(y)
    x = y

Submission status: Accepted

Solution code:
r, D, x2000 = map(int, input().split())

for i in range(10):
    print(x2000*r - D)
    x2000 = x2000*r -D

Submission status: Accepted

Solution code:
#!/usr/bin/env python
# coding: utf-8

# In[1]:


import sys
#input = sys.stdin.readline
r, D, x = map(int, input().split())


# In[2]:


for i in range(10):
    x = r*x-D
    print(x)


# In[ ]:

Submission status: Accepted

Solution code:
r, d, x = map(int, input().split())
x_list = []
for i in range(10):
    x = r*x - d
    print(x)

Submission status: Accepted

Solution code:
r, D, x = map(int, input().split())
final = []
for num in range(10):
    x = r * x - D
    final.append(x)
    print(final[num])

Submission status: Accepted

Solution code:
r,d,x=map(int,input().split())
for i in range(10):
    ans=r*x-d
    x=ans
    print(ans)

Submission status: Accepted

Solution code:
r, d, x = map(int,input().split())
res = x
for i in range (10):
    res = r*res-d
    print (res)

Submission status: Accepted

Solution code:
r,D,x_2000 = map(int,input().split())
x_prev = x_2000
for i in range(10):
  x = r*x_prev-D
  print(x)
  x_prev = x

Submission status: Accepted

Solution code:
algae = input().split()
rate = int(algae[0])
down_weight = int(algae[1])
weight = int(algae[2])
next_weight = 0

for i in range(1, 11):
    next_weight = rate * weight - down_weight
    weight = next_weight
    print(next_weight)

Submission status: Accepted

Solution code:
r, D, x = (int(i) for i in input().split())

for i in range(1, 11):
    x = r*x - D
    print(x)

Submission status: Accepted

Solution code:
r, D, x = map(int, raw_input().split())
for i in range(0, 10):
	x = r*x - D
	print x

Submission status: Accepted

Solution code:
def calculate(r, D, x_2000):
  result = []
  temp_result = x_2000
  for i in range(0, 10):
    temp_result = r * temp_result - D
    result.append(temp_result)
    
  return result
  
  
import sys

r=0
D=0
x_2000=0
is_arg_ok = False
try:
  num_list = input().split(' ')
  r = int(num_list[0])
  D = int(num_list[1])
  x_2000 = int(num_list[2])
  is_arg_ok = True
  
except:
  print('age,price must be numbers')
  sys.exit(1)

calculated_weights = calculate(r, D, x_2000)
for weignt in calculated_weights:
  print(weignt)
sys.exit(0)

Submission status: Accepted

Solution code:
r,D,x = map(int,input().split())
for i in range(10):
    x = r * x -D
    print(x)

Submission status: Accepted

Solution code:
r,d,a=map(int,input().split())
for i in range(10):
	a=r*a-d
	print(a)

Submission status: Accepted

Solution code:
r,d,x=map(int,input().split())
for i in range(10):
  print(r*x-d)
  x=(r*x-d)

Submission status: Accepted

Solution code:
r, d, x = map(int, input().split())

result = x
for _ in range(10):
    result = r * result - d
    print(result)

Submission status: Accepted

Solution code:
r, d, x = map(int, input().split())
for _ in range(10):
    x = x * r - d
    print(x)

Submission status: Accepted

Solution code:
r,D,x=map(int,input().split())
X=[0]*10
X[0]=r*x-D
print(X[0])
for i in range(9):
  X[i+1]=X[i]*r-D
  print(X[i+1])

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())

for i in range(10):
    c=a*c-b
    print(c)

Submission status: Accepted

Solution code:
r, d, x2000 = map(int, input().split())

next = x2000
for i in range(10):
    next = r * next - d
    print(next)

Submission status: Accepted

Solution code:
r, D, x = [int(x) for x in input().split()]

# x_i+1 = r * x_i - D

for i in range(10):
  x = r * x - D
  print(x)

Submission status: Accepted

Solution code:
r,D,x=map(int,input().split())

for _ in range(10):
   x = r * x - D
   print(x)

Submission status: Accepted

Solution code:
r, D, x = [int(i) for i in input().split()]
for _ in range(10):
    x = r * x - D
    print(x)

Submission status: Accepted

Solution code:
r, D, x = map(int,input().split())

for i in range(10):
  x = r*x-D
  print(x)

Submission status: Accepted

Solution code:
r, D, x = map(int, input().split())

ans = x
for _ in range(1, 10 + 1):
    ans = r * ans - D
    print(ans)

Submission status: Accepted

Solution code:
r,D,x_i = map(int,input().split())
for i in range(1,11):
  x_i_plus = r * x_i - D
  print(x_i_plus)
  x_i = x_i_plus

Submission status: Accepted

Solution code:
a=input().split()
r,D,x=int(a[0]),int(a[1]),int(a[2])

for i in range(10):
    x=r*x-D
    print(x)

Submission status: Accepted

Solution code:
r,D,x = list(map(int, input().split()))
for i in range(10):
    x = r*x - D
    print(x)

Submission status: Accepted

Solution code:
r, D, a0 = map(int, input().split())
d = -D/(1-r)
for n in range(1, 11):
    ans = d+(r**n)*(a0-d)
    ans = int(ans)
    print(ans)

Submission status: Accepted

Solution code:

r,D,x = input().split()

r = int(r)
D = int(D)
x = int(x)

now_x = x

for i in range(10):
    now_x = r*now_x - D
    print (now_x)

Submission status: Accepted

Solution code:
r, D, x = map(int, input().split())

tmp = 0
for i in range(10):
  tmp = r * x - D
  print(tmp)
  x = tmp

Submission status: Accepted

Solution code:
r,D,x =map(int,input().split())

for i in range(10):
    x=r*x-D
    print(x)

Submission status: Accepted

Solution code:
r, D, x = map(int, input().split())
for i in range(10):
    print(r * x - D)
    x = r * x - D

Submission status: Accepted

Solution code:
r, d, x2000 = map(int, input().split())
x=[x2000]
for i in range(10):
    x.append(r*x[i]-d)
    print(x[i+1])

Submission status: Accepted

Solution code:
def cal_algae(r, d, x, i):
    if i < 2010:
        x = r * x - d
        print(x)
        cal_algae(r, d, x, i + 1)


r, d, x = list(map(int, input().split()))

i = 2000

cal_algae(r, d, x, i)

Submission status: Accepted

Solution code:
def cal_algae(r, d, x, i):
    if i < 2010:
        x = r * x - d
        print(x)
        cal_algae(r, d, x, i + 1)


algae = list(map(int, input().split()))

r = int(algae[0])
d = int(algae[1])
x = int(algae[2])

i = 2000

cal_algae(r, d, x, i)

Submission status: Accepted

Solution code:
r,D,x2000 = [int(i) for i in input().split()]

x = x2000
for i in range(1,11) :
    x = (r * x - D)
    print(x)

Submission status: Accepted

Solution code:
r, D, x= map(int, input().split())

for i in range(10):
    x = r * x - D
    print (x)

Submission status: Accepted

Solution code:
N = [int(i) for i in input().split()]
for i in range(10):
    sum = N[0] * N[2] - N[1]
    N[2] = sum
    print(sum)

Submission status: Accepted

Solution code:
r,d,x=map(int,input().split(" "))
for i in range(10):
  x=r*x-d
  print(x)

Submission status: Accepted

Solution code:
r,D,x = map(int, input().split())
for i in range(10):
  x = r*x - D
  print(x)

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())
for i in range(10):
  c = a*c-b
  print(c)

Submission status: Accepted

Solution code:
import numpy as np

# 初期値を入力

r, D, x_2000 = map(int, input().split())

# メインプログラム

X = x_2000

for i in range(10):
    X =  r*X - D
    print(int(X))