# 初期入力
import sys
input = sys.stdin.readline
r,D,x2000 = (int(i) for i in input().split())
x =[0]*11
x[0] =x2000
for i in range(10):
    x[i+1] =r*x[i] -D
    print(x[i+1]) import sys sys input = sys.stdin.readline input sys.stdin.readline sys.stdin sys stdin readline int(i) for i in input().split() for i in input().split() i input().split() ().split () input split for i in input().split() int(i) int i r,D,x2000 = (int(i) for i in input().split()) r (int(i) for i in input().split()) D x2000 x =[0]*11 x [0]*11 [0] 0 11 x[0] =x2000 x[0] x 0 x2000 for i in range(10):
    x[i+1] =r*x[i] -D
    print(x[i+1]) i range(10) range 10 x[i+1] =r*x[i] -D x[i+1] x i+1 i 1 r*x[i] -D r*x[i] r x[i] x i D print(x[i+1]) print x[i+1] x i+1 i 1 input = sys.stdin.readline sys.stdin.readline input x2000 = (int(i) for i in input().split()) (int(i) for i in input().split()) x2000 r,D,x2000 = (int(i) for i in input().split()) (int(i) for i in input().split()) r D,x2000 = (int(i) for i in input().split()) (int(i) for i in input().split()) D x =[0]*11 [0]*11 x
# 初期入力
import sys
input = sys.stdin.readline
r,D,x2000 = (int(i) for i in input().split())
x =[0]*11
x[0] =x2000
for i in range(10):
    x[i+1] =r*x[i] -D
    print(x[i+1])