import sys

r,d,x2000 = map(int, input().split())
tmp = x2000
ans = ''

for y in range(2001, 2011):
    result = r * tmp - d
    tmp = result
    print(result) import sys sys r,d,x2000 = map(int, input().split()) r map(int, input().split()) map int input().split() ().split () input split d x2000 tmp = x2000 tmp x2000 ans = '' ans '' for y in range(2001, 2011):
    result = r * tmp - d
    tmp = result
    print(result) y range(2001, 2011) range 2001 2011 result = r * tmp - d result r * tmp - d r * tmp r tmp d tmp = result tmp result print(result) print result r,d,x2000 = map(int, input().split()) map(int, input().split()) r ans = '' '' ans tmp = x2000 x2000 tmp x2000 = map(int, input().split()) map(int, input().split()) x2000 d,x2000 = map(int, input().split()) map(int, input().split()) d result = r * tmp - d r * tmp - d result tmp = result result tmp
import sys

r,d,x2000 = map(int, input().split())
tmp = x2000
ans = ''

for y in range(2001, 2011):
    result = r * tmp - d
    tmp = result
    print(result)