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,x=map(int,input().split())
result=r*x-d

for i in range(1,11):
    print(result)
    result=r*result-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())
ans=[x]
for i in range(10):  
  tmp = r*ans[i] - D
  ans.append(tmp)
  print(tmp)

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

Submission status: Accepted

Solution code:
r, d, xs = map(int, input().split())
li = []
xi = 0
for i in range(10):
    xi = r*xs-d
    li.append(xi)
    xs = xi

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

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

for i in range(10):
  print(ans[i])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r, D, x = map(int, input().split(" "))
for i in range(1,10+1):
    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 = list(map(int, input().split()))

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#ABC127

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

x = r * x - d
print(x)

for i in range(9):
    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:
#import sys
#import math
import numpy as np
'''a,b= map(int,input().split())'''
#a, b, c = [list(map(int, input().split())) for _ in range(3)]
#li0= [int(x) for x in input().split()]
#n,l= map(int, input().split())
#x = [list(map(int, input().split())) for _ in range(n)] 
a,b,c=map(int,input().split())
count=c
for i in range(10):
  count=a*count-b
  print(count)

Submission status: Accepted

Solution code:
def task():
	a=input().split()
	r=int(a[0])
	d=int(a[1])
	x=int(a[2])
	for i in range (10):
		print((r*x)-d)
		x=(r*x-d)
		
t=1
while(t>0):
		task()
		t-=1

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

a = [0]*10
a[0] = r*x-d
print(a[0])
for i in range(1, 10):
  s = r*a[i-1] -d
  a[i] = s
  print(s)

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

Submission status: Accepted

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

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

Submission status: Accepted

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


# Generated by 1.1.6 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():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    r = int(next(tokens))  # type: int
    D= int(next(tokens))  # type: int
    X= int(next(tokens))  # type: int
    for i in range(10):
        X = r*X - D
        print(X)
    pass

if __name__ == '__main__':
    main()

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

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())
l = []

s = x
for i in range(10):
    s = s * r - d
    l.append(str(s))

ans="\n".join(l)
print(ans)

Submission status: Accepted

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

x_prev = x_2000
i = 1
while True:
    x = r * x_prev - D
    print(x)
    x_prev = x
    if i == 10:
        break
    i += 1

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

Submission status: Accepted

Solution code:
r,d,x = [i for i in list(map(int,input().split()))]
for i in range(1,11):
  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, 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:
# -*- 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:
# coding: utf-8

(r, d, x2000) = map(int, input().rstrip().split(" "))

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

Submission status: Accepted

Solution code:

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

for i in range(0,10):
            x_i=r*x_i-d
            print(x_i)

Submission status: Accepted

Solution code:
#!/usr/bin/python3
# -*- coding:utf-8 -*-

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

if __name__=='__main__':
  main()

Submission status: Accepted

Solution code:
import math
import string


def readints():
    return list(map(int, input().split()))


def nCr(n, r):
    return math.factorial(n)//math.factorial(n-r)*math.factorial(r)


r, D, x = map(int, input().split())
xx = []
xx.append(r*x-D)
print(r*x-D)
for i in range(9):
    a = r*xx[i]-D
    print(a)
    xx.append(a)

Submission status: Accepted

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

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

Submission status: Accepted

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

x_prev = x0
for _ in range(10):
  weight = r * x_prev - D
  print(weight)
  x_prev = weight

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

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

for i in range(10):
    next_x = rate * current_x - D
    print(next_x)
    current_x = next_x

Submission status: Accepted

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

n=x
for i in range(10):
  n = r*n -d
  print(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,x2000 = map(int,input().split())
x = []
y = 0
for i in range(10):
    y = r*x2000 - d
    x.append(y)
    x2000 = y

for j in range(len(x)):
    print(x[j])

Submission status: Accepted

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

def f(x, i):
    i += 1
    if i > 10:
        return
    x = x * r - D
    print(x)
    f(x, i)

i = 0
f(x_2000, i)

Submission status: Accepted

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

Submission status: Accepted

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

before = 0

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

Submission status: Accepted

Solution code:
import numpy as np
r,D,x=map(int,input().split())
def func(r, D, x):
    return r*x - D

X = np.zeros(10)
X[0] = func(r,D,x)
for i in range(10-1):
    X[i+1] = func(r, D, X[i])
for j in X:
    print(int(j))

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

Submission status: Accepted

Solution code:
l1 = input().split()
r = int(l1[0])
d = int(l1[1])
fx = int(l1[2])
for x in range(0,10):
    fx = r*fx - d
    print(fx)

Submission status: Accepted

Solution code:
import numpy as np
import math

# input

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

xans = x


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

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# https://atcoder.jp/contests/abc127/tasks/abc127_b

r, d, x = [int(x) for x in input().split()]
ans = [x]
for _ in range(10):
    ans.append(ans[-1] * r - d)
ans.pop(0)
for _ in range(len(ans)):
    print(ans.pop(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,x=map(int,input().split())
num=[]
for i in range(10):
	x = x*r-d
	print(x)

Submission status: Accepted

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


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


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())
f = x
i = 0
while i < 10:
  f = f*r-d
  print(f)
  i+=1

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

x = [None]*11
x[0]=x2000
for i in range(1,11):
    x[i]=r*x[i-1]-d
    print(x[i])

Submission status: Accepted

Solution code:
x = [0 for i in range(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 = 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:
#127
r,d,x = map(int, input().split())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r,d,x=map(int,input().split())
l=[]
l.append(x)
for _ in range(10):
    l.append(r*l[-1]-d)
l.pop(0)
for y in l:
    print(y)

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

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

Submission status: Accepted

Solution code:
r,d,x_p=map(int,input().split())
x=x_p
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):
    print(a*c-b)
    c=a*c-b

Submission status: Accepted

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

Submission status: Accepted

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

tmp = kx
lst = []
for x in range(10):
    lst.append((tmp * r) - d)
    tmp = ((tmp * r) - d)

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

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())

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

Submission status: Accepted

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

    tmp = x

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

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
import sys

r, d, x_2000 = map(int, sys.stdin.readline().split())

def main():
    x = x_2000
    for _ in range(10):
        x = r*x - d
        yield x

if __name__ == '__main__':
    ans = main()
    print(*ans, sep='\n')

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

for i in range(1,11):
    a.append(r*a[i-1]-d)

for i in range(1,11):
    print(a[i])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

ans = [0] * 11
ans[0] = x

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import os, sys, re, math

(r, D, x) = [int(n) for n in input().split()]

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
y = list(map(int,input().split(" ")))
r = y[0]
d = y[1]
x0 = y[2]
x = [x0]

for i in range(1,11):
    xi = r * x[i-1] - d
    x.append(xi)
    print(xi)

Submission status: Accepted

Solution code:
#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=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())
res=x
for i in range(1,11):
    res=r*res-d
    print(res)

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())

i=1
a=r*x-D

while i<=10:
	print(a)
	a=r*a-D
	i+=1

Submission status: Accepted

Solution code:
r,D,x = list(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())
ans = 0

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

Submission status: Accepted

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

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:
def main(r, f, x_2000):
    t = x_2000
    for _ in range(10):
        t = r * t - f
        print(t)


if __name__ == "__main__":
    r, f, x_2000 = map(int, input().split())
    main(r, f, x_2000)

Submission status: Accepted

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

Submission status: Accepted

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

x = x_2000

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
 
import math
import itertools
import sys
import copy
 
# 入力
#A, B, C, D = map(int, input().split())
#L = list(map(int, input().split()))
#S = list(str(input()))
#N = int(input())
#S = str(input())
r, D, x2000 = map(int, input().split())

def f(x) :
  global r
  global D
  return (r*x - D)

x = f(x2000)
for i in range(10):
  print (x)
  x = f(x)

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

Submission status: Accepted

Solution code:
import sys

stdin = sys.stdin

mod = 1000000007
inf = 1 << 60

ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline().rstrip()
nas = lambda: stdin.readline().split()

r, d, x = na()

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

Submission status: Accepted

Solution code:
import sys
import math

num = list(map(int,input().split()))
r=num[0]
D=num[1]
x=num[2]

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

Submission status: Accepted

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

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

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

before = x2000
outcount = 10

for i in range(1, outcount+1):
    val = (r * before) - D
    print(val)
    before = val

Submission status: Accepted

Solution code:

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
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):
 print(r*x-d)
 x=r*x-d

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

ans = [x]*11

for i in range(1, 11):
    ans[i] = ans[i-1]*r - d

for val in ans[1:12]:
    print(val)

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

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 = [int(_) for _ in input().split()]

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

Submission status: Accepted

Solution code:
import sys
def input(): return sys.stdin.readline().rstrip()

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=[x2000]
for i in range(10):
  t = r * x[-1] - d
  print(t)
  x.append(t)

Submission status: Accepted

Solution code:
"""
author : halo2halo
date : 9, Jan, 2020
"""

import sys

import numpy as np
import itertools

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(10 ** 7)

# N = int(readline())
# SP = [(x.split()[0].decode('utf8'), int(x.split()[1])) for x in readlines()]
# SPs = sorted((name, -pt, i + 1) for i, (name, pt) in enumerate(SP))
# print('\n'.join(str(a[2]) for a in SPs))

R, D, X = map(int, readline().split())
xl = []
for _ in range(10):
    X = R * X - D
    xl.append(X)

print('\n'.join(str(x) for x in xl))

Submission status: Accepted

Solution code:
#python3
r, d, x = map(int, input().split())
def f(x):
  for _ in range(10):
    x = r*x-d
    yield x
for i in f(x):
  print(i)

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

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

if __name__ == '__main__':
    main()

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:
# coding: utf-8

r, D, x_2000 = (int(x) for x in input().split())

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

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:
input1 = input()

r = int(input1.split()[0])
d = int(input1.split()[1])
x = int(input1.split()[2])

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

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())
def func(a):
    return r*a-d
for i in range(10):
    x=func(x)
    print(x)

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)


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