r,d,x = (int(x) for x in input().split())

arr = [0] * 11
arr[0] = x 
for x in range(0,10):
    arr[x+1] = r * arr[x] - d
    print(arr[x+1]) int(x) for x in input().split() for x in input().split() x input().split() ().split () input split for x in input().split() int(x) int x r,d,x = (int(x) for x in input().split()) r (int(x) for x in input().split()) d x arr = [0] * 11 arr [0] * 11 [0] 0 11 arr[0] = x arr[0] arr 0 x for x in range(0,10):
    arr[x+1] = r * arr[x] - d
    print(arr[x+1]) x range(0,10) range 0 10 arr[x+1] = r * arr[x] - d arr[x+1] arr x+1 x 1 r * arr[x] - d r * arr[x] r arr[x] arr x d print(arr[x+1]) print arr[x+1] arr x+1 x 1 x = (int(x) for x in input().split()) (int(x) for x in input().split()) x d,x = (int(x) for x in input().split()) (int(x) for x in input().split()) d arr = [0] * 11 [0] * 11 arr r,d,x = (int(x) for x in input().split()) (int(x) for x in input().split()) r
r,d,x = (int(x) for x in input().split())

arr = [0] * 11
arr[0] = x 
for x in range(0,10):
    arr[x+1] = r * arr[x] - d
    print(arr[x+1])