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) import math math import string string def readints():
    return list(map(int, input().split())) readints return list(map(int, input().split())) list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split def nCr(n, r):
    return math.factorial(n)//math.factorial(n-r)*math.factorial(r) nCr return math.factorial(n)//math.factorial(n-r)*math.factorial(r) math.factorial(n)//math.factorial(n-r)*math.factorial(r) math.factorial(n)//math.factorial(n-r) math.factorial(n) math.factorial math factorial n math.factorial(n-r) math.factorial math factorial n-r n r math.factorial(r) math.factorial math factorial r n n r r r, D, x = map(int, input().split()) r map(int, input().split()) map int input().split() ().split () input split D x xx = [] xx [] xx.append(r*x-D) xx.append xx append r*x-D r*x r x D print(r*x-D) print r*x-D r*x r x D for i in range(9):
    a = r*xx[i]-D
    print(a)
    xx.append(a) i range(9) range 9 a = r*xx[i]-D a r*xx[i]-D r*xx[i] r xx[i] xx i D print(a) print a xx.append(a) xx.append xx append a r, D, x = map(int, input().split()) map(int, input().split()) r x = map(int, input().split()) map(int, input().split()) x xx = [] [] xx def readints():
    return list(map(int, input().split())) def readints():
    return list(map(int, input().split())) readints def nCr(n, r):
    return math.factorial(n)//math.factorial(n-r)*math.factorial(r) def nCr(n, r):
    return math.factorial(n)//math.factorial(n-r)*math.factorial(r) nCr a = r*xx[i]-D r*xx[i]-D a D, x = map(int, input().split()) map(int, input().split()) D
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)
