import sys
input = lambda : sys.stdin.readline().rstrip()

r, d, x_2000 = map(int, input().split())

ans = [x_2000]

for i in range(10):
    ans.append(r*ans[-1] - d)

for i in range(1, 11):
    print(ans[i]) import sys sys input = lambda : sys.stdin.readline().rstrip() input lambda : sys.stdin.readline().rstrip() sys.stdin.readline().rstrip() sys.stdin.readline().rstrip sys.stdin.readline() sys.stdin.readline sys.stdin sys stdin readline rstrip r, d, x_2000 = map(int, input().split()) r map(int, input().split()) map int input().split() ().split () input split d x_2000 ans = [x_2000] ans [x_2000] x_2000 for i in range(10):
    ans.append(r*ans[-1] - d) i range(10) range 10 ans.append(r*ans[-1] - d) ans.append ans append r*ans[-1] - d r*ans[-1] r ans[-1] ans -1 d for i in range(1, 11):
    print(ans[i]) i range(1, 11) range 1 11 print(ans[i]) print ans[i] ans i input = lambda : sys.stdin.readline().rstrip() lambda : sys.stdin.readline().rstrip() input ans = [x_2000] [x_2000] ans r, d, x_2000 = map(int, input().split()) map(int, input().split()) r x_2000 = map(int, input().split()) map(int, input().split()) x_2000 d, x_2000 = map(int, input().split()) map(int, input().split()) d
import sys
input = lambda : sys.stdin.readline().rstrip()

r, d, x_2000 = map(int, input().split())

ans = [x_2000]

for i in range(10):
    ans.append(r*ans[-1] - d)

for i in range(1, 11):
    print(ans[i])
