import sys
def MI(): return map(int,sys.stdin.readline().rstrip().split())


r,D,x = MI()
for _ in range(10):
    x = r*x-D
    print(x)
 import sys sys def MI(): return map(int,sys.stdin.readline().rstrip().split()) MI r,D,x = MI() r MI() MI D x for _ in range(10):
    x = r*x-D
    print(x) _ range(10) range 10 x = r*x-D x r*x-D r*x r x D print(x) print x def MI(): return map(int,sys.stdin.readline().rstrip().split()) def MI(): return map(int,sys.stdin.readline().rstrip().split()) MI x = r*x-D r*x-D x r,D,x = MI() MI() r D,x = MI() MI() D x = MI() MI() x
import sys
def MI(): return map(int,sys.stdin.readline().rstrip().split())


r,D,x = MI()
for _ in range(10):
    x = r*x-D
    print(x)

