# coding: utf-8

(r, d, x2000) = map(int, input().rstrip().split(" "))

current = x2000
for i in range(1, 11):
    current = r * current - d
    print(current) (r, d, x2000) = map(int, input().rstrip().split(" ")) (r, d, x2000) r d x2000 map(int, input().rstrip().split(" ")) map int input().rstrip().split(" ") ().rstrip().split ().rstrip() ().rstrip () input rstrip split " " current = x2000 current x2000 for i in range(1, 11):
    current = r * current - d
    print(current) i range(1, 11) range 1 11 current = r * current - d current r * current - d r * current r current d print(current) print current current = r * current - d r * current - d current current = x2000 x2000 current
# coding: utf-8

(r, d, x2000) = map(int, input().rstrip().split(" "))

current = x2000
for i in range(1, 11):
    current = r * current - d
    print(current)
