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 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)
		 task a=input().split() a input().split() ().split () input split r=int(a[0]) r int(a[0]) int a[0] a 0 d=int(a[1]) d int(a[1]) int a[1] a 1 x=int(a[2]) x int(a[2]) int a[2] a 2 for i in range (10):
		print((r*x)-d)
		x=(r*x-d)
		 i range (10) range 10 print((r*x)-d) print (r*x)-d r*x r x d x=(r*x-d) x r*x-d r*x r x d t=1 t 1 while(t>0):
		task()
		t-=1 t>0 t 0 task() task t-=1 t 1 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)
		 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)
		 task t=1 1 t t-=1 1 t
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
