r,D,x = (int(x) for x in input().split())
Disp = [0]*11
Disp[0] = x
for T in range(0,10):
    Disp[T+1] = r*Disp[T]-D
print('\n'.join(str(x) for x in Disp[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 Disp = [0]*11 Disp [0]*11 [0] 0 11 Disp[0] = x Disp[0] Disp 0 x for T in range(0,10):
    Disp[T+1] = r*Disp[T]-D T range(0,10) range 0 10 Disp[T+1] = r*Disp[T]-D Disp[T+1] Disp T+1 T 1 r*Disp[T]-D r*Disp[T] r Disp[T] Disp T D print('\n'.join(str(x) for x in Disp[1:])) print '\n'.join(str(x) for x in Disp[1:]) '\n'.join '\n' join str(x) str x Disp = [0]*11 [0]*11 Disp r,D,x = (int(x) for x in input().split()) (int(x) for x in input().split()) r 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
r,D,x = (int(x) for x in input().split())
Disp = [0]*11
Disp[0] = x
for T in range(0,10):
    Disp[T+1] = r*Disp[T]-D
print('\n'.join(str(x) for x in Disp[1:]))