def solve_127b(r, D, x):
    for i in range(10):
        x = r * x - D
        print(x)

r, d, x = map(int, input().split())
solve_127b(r, d, x) def solve_127b(r, D, x):
    for i in range(10):
        x = r * x - D
        print(x) solve_127b for i in range(10):
        x = r * x - D
        print(x) i range(10) range 10 x = r * x - D x r * x - D r * x r x D print(x) print x r r D D x x r, d, x = map(int, input().split()) r map(int, input().split()) map int input().split() ().split () input split d x solve_127b(r, d, x) solve_127b r d x r, d, x = map(int, input().split()) map(int, input().split()) r d, x = map(int, input().split()) map(int, input().split()) d def solve_127b(r, D, x):
    for i in range(10):
        x = r * x - D
        print(x) def solve_127b(r, D, x):
    for i in range(10):
        x = r * x - D
        print(x) solve_127b x = map(int, input().split()) map(int, input().split()) x
def solve_127b(r, D, x):
    for i in range(10):
        x = r * x - D
        print(x)

r, d, x = map(int, input().split())
solve_127b(r, d, x)