import math
import sys
input = sys.stdin.readline
X = [int(_) for _ in range(2500)]
r, d, x = map(int, input().split())
X[2000] = x
for i in range(2001, 2011):
    X[i] = r * X[i - 1] - d
[print(X[i]) for i in range(2001,2011)] import math math import sys sys input = sys.stdin.readline input sys.stdin.readline sys.stdin sys stdin readline int(_) for _ in range(2500) for _ in range(2500) _ range(2500) range 2500 for _ in range(2500) int(_) int _ X = [int(_) for _ in range(2500)] X [int(_) for _ in range(2500)] r, d, x = map(int, input().split()) r map(int, input().split()) map int input().split() ().split () input split d x X[2000] = x X[2000] X 2000 x for i in range(2001, 2011):
    X[i] = r * X[i - 1] - d i range(2001, 2011) range 2001 2011 X[i] = r * X[i - 1] - d X[i] X i r * X[i - 1] - d r * X[i - 1] r X[i - 1] X i - 1 i 1 d print(X[i]) for i in range(2001,2011) for i in range(2001,2011) i range(2001,2011) range 2001 2011 for i in range(2001,2011) print(X[i]) print X[i] X i [print(X[i]) for i in range(2001,2011)] r, d, x = map(int, input().split()) map(int, input().split()) r X = [int(_) for _ in range(2500)] [int(_) for _ in range(2500)] X d, x = map(int, input().split()) map(int, input().split()) d input = sys.stdin.readline sys.stdin.readline input x = map(int, input().split()) map(int, input().split()) x
import math
import sys
input = sys.stdin.readline
X = [int(_) for _ in range(2500)]
r, d, x = map(int, input().split())
X[2000] = x
for i in range(2001, 2011):
    X[i] = r * X[i - 1] - d
[print(X[i]) for i in range(2001,2011)]