import sys
input = sys.stdin.readline

def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))

r,d,x0=MI()
answers=[]
x=x0
for i in range(10):
    x=r*x-d
    answers.append(x)
#print(answers)
for ans in answers:
    print(ans) import sys sys input = sys.stdin.readline input sys.stdin.readline sys.stdin sys stdin readline def I(): return int(input()) I def MI(): return map(int, input().split()) MI def LI(): return list(map(int, input().split())) LI r,d,x0=MI() r MI() MI d x0 answers=[] answers [] x=x0 x x0 for i in range(10):
    x=r*x-d
    answers.append(x)
#print(answers) i range(10) range 10 x=r*x-d x r*x-d r*x r x d answers.append(x) answers.append answers append x for ans in answers:
    print(ans) ans answers print(ans) print ans x0=MI() MI() x0 x=r*x-d r*x-d x input = sys.stdin.readline sys.stdin.readline input x=x0 x0 x d,x0=MI() MI() d def I(): return int(input()) def I(): return int(input()) I r,d,x0=MI() MI() r def LI(): return list(map(int, input().split())) def LI(): return list(map(int, input().split())) LI def MI(): return map(int, input().split()) def MI(): return map(int, input().split()) MI answers=[] [] answers
import sys
input = sys.stdin.readline

def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))

r,d,x0=MI()
answers=[]
x=x0
for i in range(10):
    x=r*x-d
    answers.append(x)
#print(answers)
for ans in answers:
    print(ans)