def x_i(r,D,x):
    return r*x-D

try:
    r,D,x_2000=map(int, input().split())
    assert 2<=r<=5 and 1<=D<=100 and D<x_2000<=200

    for i in range(2001,2011):
        print(r*x_2000-D)
        x_2000=r*x_2000-D
except AssertionError:
    print('')
 def x_i(r,D,x):
    return r*x-D x_i return r*x-D r*x-D r*x r x D r r D D x x try:
    r,D,x_2000=map(int, input().split())
    assert 2<=r<=5 and 1<=D<=100 and D<x_2000<=200

    for i in range(2001,2011):
        print(r*x_2000-D)
        x_2000=r*x_2000-D
except AssertionError:
    print('') except AssertionError:
    print('') print('') print '' r,D,x_2000=map(int, input().split()) r map(int, input().split()) map int input().split() ().split () input split D x_2000 assert 2<=r<=5 and 1<=D<=100 and D<x_2000<=200 2<=r<=5 and 1<=D<=100 and D<x_2000<=200 2<=r<=5 and 1<=D<=100 2<=r<=5 2<=r 2 r 5 1<=D<=100 1<=D 1 D 100 D<x_2000<=200 D<x_2000 D x_2000 200 for i in range(2001,2011):
        print(r*x_2000-D)
        x_2000=r*x_2000-D i range(2001,2011) range 2001 2011 print(r*x_2000-D) print r*x_2000-D r*x_2000 r x_2000 D x_2000=r*x_2000-D x_2000 r*x_2000-D r*x_2000 r x_2000 D 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 def x_i(r,D,x):
    return r*x-D def x_i(r,D,x):
    return r*x-D x_i D,x_2000=map(int, input().split()) map(int, input().split()) D x_2000=r*x_2000-D r*x_2000-D x_2000
def x_i(r,D,x):
    return r*x-D

try:
    r,D,x_2000=map(int, input().split())
    assert 2<=r<=5 and 1<=D<=100 and D<x_2000<=200

    for i in range(2001,2011):
        print(r*x_2000-D)
        x_2000=r*x_2000-D
except AssertionError:
    print('')

