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())
x = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
x[0] = x2000
for i in range(10):
  x[i + 1] = r * x[i] - D
  print(x[i + 1])

Submission status: Accepted

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

x = [0]*10
x[0] = r * x_ini - D
for i in range(9):
    x[i + 1] = r * x[i] - D

for i in range(10):
    print(x[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:
a = list(map(int,input().split()))
r=a[0]
D=a[1]
x=a[2]

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,x_2000 = map(int,input().split())
re = x_2000
for i in range(10):
    re = r*re -d
    print(re)

Submission status: Accepted

Solution code:
# x(i+1) = rxi - D
r, d, x = map(int, input().split())
for _ in range(10):
    x = x*r-d
    print(x)

Submission status: Accepted

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

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

if __name__ == "__main__":
    main()

Submission status: Accepted

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

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:
(sR, sD, sX) = input().split()
r = int(sR)
D = int(sD)
x = int(sX)
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, 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())

list1 = [x]

for i in range(10):
    list1.append(list1[i]*r-d)

for i in range(10):
    print(list1[i+1])

Submission status: Accepted

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

Submission status: Accepted

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

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:
r,D,x=map(int,input().split())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r,D,x_base=list(int(el) for el in input().split(' '))
compute_next=lambda x: r*x-D

for i in range(10):
  x_base=compute_next(x_base)
  print(x_base)

Submission status: Accepted

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

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 _ in range(10):
  x = x*r-d
  print(x)

Submission status: Accepted

Solution code:
AB = input().split()
r = int(AB[0])
D = int(AB[1])
init = int(AB[2])
a = r * init - D
print(a)
for i in range(9):
    a = (r * a) - D
    print(a)

Submission status: Accepted

Solution code:
from sys import stdin

r, d, x = [int(i) for i in stdin.readline().rstrip().split()]

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

Submission status: Accepted

Solution code:
#ABC127B - Algae
r, D, a = list(map(int,input().split()))
x = [a]
for i in range(10):
    y = r*x[i] - D
    x.append(y)
    print(y)

Submission status: Accepted

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

for i in range(0,10):
	x = (x * r) - 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 = x*r-D
    print(x)

Submission status: Accepted

Solution code:
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

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

for _ 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:
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 n 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())
for i in range(10):
    x = x * r - 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:
from sys import stdin
from itertools import combinations_with_replacement,product

a,b,c = [int(x) for x in stdin.readline().rstrip().split()]

x = c

for _ in range(2001,2011):
    x = a*x - b
    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=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())

x = x2000*r - d
print(x)
for val in range(9):
    x = x*r -d
    print(x)

Submission status: Accepted

Solution code:
x = [0 for i in range(11)]
r, d, x_0 = map(int,input().split())
x[0] = x_0
for i in range(10):
    x[i+1] = 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, x = map(int, input().split())
num = 0
while num < 10:
  x = r * x - D
  print(x)
  num += 1

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r,D,x2000 = map(int,input().split())
xi = r*x2000-D
for i in range(10):
    print(xi)
    xi = r*xi-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:
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(r*x-D)
    x = r*x-D

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:
data = [int(i) for i in input().split()]
ans = data[0]*data[2] - data[1]
print(ans)
for i in range(9):
    ans = data[0]*ans - data[1]
    print(ans)

Submission status: Accepted

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

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 = 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,"\n")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r, D, x = map(int,input().split())
dp = [0]*11
dp[0]=x
for i in range(10):
  dp[i+1] = r*dp[i] - D
  
print(*dp[1:], sep = "\n")

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 = map(int,input().split())
for i in range(10):
  x = r * x - D
  print(x)

Submission status: Accepted

Solution code:
r,d,ini=map(int,input().split())
v=0
while v!=10:
  ini=ini*r-d
  v+=1
  print(ini)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

input = sys.stdin.readline


def main():
    r, d, x = map(int, input().split())
    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())
a =[]
s = r*x -d
for i in range(1,11):
  a.append(i)
  for j in range(len(a)):
    a[0] = s
    a[j] = r*a[j-1] -d
for e in a:
  print(e)

Submission status: Accepted

Solution code:
def slove():
    import sys
    input = sys.stdin.readline
    r, d, x = list(map(int, input().rstrip('\n').split()))
    for i in range(10):
        x = r * x - d
        print(x)


if __name__ == '__main__':
    slove()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
from bisect import *
from collections import *
from copy import deepcopy
from heapq import *
from itertools import *
from math import *
from operator import *
from pprint import *

sys.setrecursionlimit(10**8)

input = sys.stdin.readline

def main():
    """ main """
    r,D,x = map(int, input().split())
    res = [0]*11
    res[0] = x
    for i in range(1,11):
        res[i] = res[i-1]*r-D
        print(res[i])


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
from io import StringIO
import unittest

class TestClass(unittest.TestCase):
    def assertIO(self, input, output):
        stdout, stdin = sys.stdout, sys.stdin
        sys.stdout, sys.stdin = StringIO(), StringIO(input)
        resolve()
        sys.stdout.seek(0)
        out = sys.stdout.read()[:-1]
        sys.stdout, sys.stdin = stdout, stdin
        self.assertEqual(out, output)
    def test_入力例_1(self):
        input = """2 10 20"""
        output = """30
50
90
170
330
650
1290
2570
5130
10250"""
        self.assertIO(input, output)
    def test_入力例_2(self):
        input = """4 40 60"""
        output = """200
760
3000
11960
47800
191160
764600
3058360
12233400
48933560"""
        self.assertIO(input, output)

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

if __name__ == "__main__":
    resolve()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

for i in range(1,11):
  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:
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 = list(map(int, input().split()))
for i in range(10):
    x2 = r*x -d
    x =x2
    print(x2)

Submission status: Accepted

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

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

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

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 = 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):
      ans = r*x-d
      print(ans)
      x = ans

Submission status: Accepted

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

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

Submission status: Accepted

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


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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

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 = [x_2000]

for _ in range(10):
    x.append(r * x[-1] - d)

for v in x[1:]:
    print(v)

Submission status: Accepted

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

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

Submission status: Accepted

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

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, x_2000 = map(int, input().split())
ans = x_2000
for i in range(10):
    print(r*ans-D)
    ans = r*ans-D

Submission status: Accepted

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

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

Submission status: Accepted

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

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


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
li = list(map(int,input().split()))

r = li[0]
D = li[1]
x_2000 = li[2]

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

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):
    x = r*x-D
    print(x)

Submission status: Accepted

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

def algae(i):
    if i == 2000:
        return x
    return r * algae(i-1) - D


for i in range(2001, 2011):
    print(algae(i))

Submission status: Accepted

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

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

Submission status: Accepted

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

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

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 = map(int, input().split())
next = 0
for _ in range(10):
  next = r*x-d 
  print(next)
  x = next

Submission status: Accepted

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

x = [r*x_init-d] * 10

for i in range(9):
  x[i+1] = r*x[i]-d
  
for i in range(10):
  print(x[i])

Submission status: Accepted

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

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=map(int, input().split())

for count 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 = 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())
n = 10
for i in range(n):
    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 = map(int, input().split())
x_list = []
x_list.append(x)
temp_x = 0
for i in range(1, 11):
    temp_x = x_list[i-1]*r - D
    x_list.append(temp_x)
x_list.pop(0)
for j in x_list:
    print(j)

Submission status: Accepted

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

Submission status: Accepted

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

x_li = [0 for i in range(11)]
x_li[0] = x

for i in range(10):
    x_li[i+1] = r*x_li[i] -d
    
for i in range(10):
    print(x_li[i+1])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b,x=map(int,input().split())
for i in range(10):
    x=x*a-b
    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())
for i in range(10):
    x = r*x-d
    print(x)

Submission status: Accepted

Solution code:
x = [0]*11
r,d,x[0] = map(int,input().split())

for i in range(10):
    x[i+1] = r*x[i] - d
    print(x[i+1])

Submission status: Accepted

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

x = x_int

for i in range(10):
    x_tmp = r*x - D
    print(x_tmp)
    x = 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,x0 = map(int,input().split())

def x(i):
    if i == 0:
        return x0
    else:
        return(r*x(i-1)-D)

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

Submission status: Accepted

Solution code:
def main(): 

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

if __name__ == "__main__":
    main()

Submission status: Accepted

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

for i in range(2,12):
    print(round((x_2000-d/(r-1))*r**(i-1)+d/(r-1)))

Submission status: Accepted

Solution code:
# B - Algae
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:
# -*- 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,x2000 = map(int,input().split())


for i in range(10):
    if i == 0:
        ans = r*x2000-d
    else:
        ans = r*ans-d
    print(ans)

Submission status: Accepted

Solution code:
def saiki(n,d,r,x2000):
    if n==2000:
        return x2000
    
    else:
        return r*saiki(n-1,d,r,x2000)-d

r,d,x2000 = map(int,input().split())
for n in range(2001,2011):
    print(saiki(n,d,r,x2000))

Submission status: Accepted

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

k = d/(r-1)

for n in range(2001,2011):
    xn = r**(n-2000)*(x2000-k)+k
    print(int(xn))

Submission status: Accepted

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

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

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,x0=map(int,input().split())
def n(t):
  return r*t-D
x1=n(x0)
x2=n(x1)
x3=n(x2)
x4=n(x3)
x5=n(x4)
x6=n(x5)
x7=n(x6)
x8=n(x7)
x9=n(x8)
x10=n(x9)
print(x1)
print(x2)
print(x3)
print(x4)
print(x5)
print(x6)
print(x7)
print(x8)
print(x9)
print(x10)

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())
ans = x
for i in range(1,11):
  ans = ans*r - D
  print(ans)

Submission status: Accepted

Solution code:
a=list(input().split())
r=int(a[0])
D=int(a[1])
x=int(a[2])
xtotal=[x]
for i in range(10):
  xtotal.append(r*xtotal[i]-D)
  print(xtotal[i+1])

Submission status: Accepted

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

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

for i in range(1,11):
  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,x2000=map(int, input().split())
last = x2000
for i in range(10):
    print(r*last-d)
    last = r*last-d

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:





def main():
	line = input()
	vector = [int(x) for x in line.split()]
	r = vector[0]
	D = vector[1]
	x2000 = vector[2]
	y = x2000
	for i in range(10):
		y = r * y - D
		print(y)






if __name__ == "__main__":
	main()

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 = map(int, input().split())
for i in range(1, 11):
    print(r ** i * x - d * (r ** i - 1)//(r-1))

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 -*-
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())
index = 0
while index < 10:
    total = r * x - d
    print(total)
    x = total
    index += 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 = map(int, input().split())

i = 0
while i <= 9:
  x = r * x - D
  print(x)
  i += 1

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline
r, D, prev_x = map(int, input().split())

for y 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())
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(1, 11):
    x = r * x - d
    print(x)

Submission status: Accepted

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

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:
def calc(r,D,x):
  y = r*x-D
  return y

r,D,x = map(int,input().split())
for i in range(10):
  x = calc(r,D,x)
  print(x)

Submission status: Accepted

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

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:
while True:
    try:
        r, d, x = map(int, input().split())
        for i in range(10):
            x = x * r - d
            print(x)
    except:
        break

Submission status: Accepted

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

Submission status: Accepted

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

def x(i):
    if i == 2000:
        return(x_2000)
    else:
        return(r * x(i-1) - D)

for j in range(2001, 2011):
    print(x(j))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import numpy as np
import sys

def main():
    input = sys.stdin.readline
    r, D, x2000 = map(int, input().split())
    dp = [0] * 11
    dp[0] = x2000
    for i in range(1, 11):
        dp[i] = r * dp[i-1] - D
        print(dp[i])


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r, d, x2000 = map(int, input().split())
def calc(r, d, before):
  return r * before - d

tmp = x2000
for year in range(2001, 2011):
  tmp = calc(r, d, tmp)
  print(tmp)

Submission status: Accepted

Solution code:
r,d,x = map(int,input().split())
tmp = x
for _ 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(1, 11):
    x = r*x - D
    print(x)

Submission status: Accepted

Solution code:
while True:
    try:
        r, D, X = map(int, input().split())
        for i in range(2001, 2011):
            X = r*X - D
            print(X)
    except:
        break

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, x1 = map(int,input().split())
x = x1
for i in range(10):
    x = r*x - d
    print(x)

Submission status: Accepted

Solution code:
r, D, x = map(int, input().split())
cnt = 0
while cnt <= 9:
    cnt += 1
    x = r*x - D
    print(x)

Submission status: Accepted

Solution code:
r,d,x=map(int,input().split())
e=10
while e>0:
  x=r*x-d
  print(x)
  e-=1

Submission status: Accepted

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

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

Submission status: Accepted

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

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

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:
def func(x,r,d):
    res = r*x-d
    return (res)

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

for i in range(10):
    a.append(func(a[i],r,d))
    print(a[i+1])

Submission status: Accepted

Solution code:
r, D, x2000 = map(int, input().split())
x = x2000
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())

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(10):
  x_ii = r*x_i-d
  x_i = x_ii
  print(x_ii)

Submission status: Accepted

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

for i in range(2001, 2011):
	x = r * x - d
	print(x)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r,d,x = map(int, input().split())
result=[]
result.append(x)
for i in range(10):
	x=r*x-d
	result.append(x)
for i in result[1:11]:
	print(str(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:
r, D, x = map(int, input().split())
for i in range(10):
    ans = r*x - D
    print(ans)
    x = ans

Submission status: Accepted

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

Submission status: Accepted

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

def x(i):
  if i == 2000:
    return x_2000
  elif i >= 2001:
    return r * x(i - 1) - D
  
for i in range(2001, 2011):
  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 = map(int, input().split())
for _ in range(10):
  x = r * x - D
  print(x)