#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) import numpy as np numpy '''a,b= map(int,input().split())''' a,b,c=map(int,input().split()) a map(int,input().split()) map int input().split() ().split () input split b c count=c count c for i in range(10):
  count=a*count-b
  print(count) i range(10) range 10 count=a*count-b count a*count-b a*count a count b print(count) print count a,b,c=map(int,input().split()) map(int,input().split()) a count=c c count c=map(int,input().split()) map(int,input().split()) c b,c=map(int,input().split()) map(int,input().split()) b count=a*count-b a*count-b count
#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)