def actual(r, D, x_2000):
    x_list = []
    x_n = x_2000

    for _ in range(1, 10 + 1):
        x_next = r * x_n - D
        x_n = x_next

        x_list.append(x_next)

    return '\n'.join([str(x) for x in x_list])

r, D, x_2000 = map(int, input().split())
print(actual(r, D, x_2000)) def actual(r, D, x_2000):
    x_list = []
    x_n = x_2000

    for _ in range(1, 10 + 1):
        x_next = r * x_n - D
        x_n = x_next

        x_list.append(x_next)

    return '\n'.join([str(x) for x in x_list]) actual x_list = [] x_list [] x_n = x_2000 x_n x_2000 for _ in range(1, 10 + 1):
        x_next = r * x_n - D
        x_n = x_next

        x_list.append(x_next)

     _ range(1, 10 + 1) range 1 10 + 1 10 1 x_next = r * x_n - D x_next r * x_n - D r * x_n r x_n D x_n = x_next x_n x_next x_list.append(x_next) x_list.append x_list append x_next str(x) for x in x_list for x in x_list x x_list for x in x_list str(x) str x return '\n'.join([str(x) for x in x_list]) '\n'.join([str(x) for x in x_list]) '\n'.join '\n' join [str(x) for x in x_list] r r D D x_2000 x_2000 r, D, x_2000 = map(int, input().split()) r map(int, input().split()) map int input().split() ().split () input split D x_2000 print(actual(r, D, x_2000)) print actual(r, D, x_2000) actual r D x_2000 def actual(r, D, x_2000):
    x_list = []
    x_n = x_2000

    for _ in range(1, 10 + 1):
        x_next = r * x_n - D
        x_n = x_next

        x_list.append(x_next)

    return '\n'.join([str(x) for x in x_list]) def actual(r, D, x_2000):
    x_list = []
    x_n = x_2000

    for _ in range(1, 10 + 1):
        x_next = r * x_n - D
        x_n = x_next

        x_list.append(x_next)

    return '\n'.join([str(x) for x in x_list]) actual x_2000 = map(int, input().split()) map(int, input().split()) x_2000 r, D, x_2000 = map(int, input().split()) map(int, input().split()) r D, x_2000 = map(int, input().split()) map(int, input().split()) D
def actual(r, D, x_2000):
    x_list = []
    x_n = x_2000

    for _ in range(1, 10 + 1):
        x_next = r * x_n - D
        x_n = x_next

        x_list.append(x_next)

    return '\n'.join([str(x) for x in x_list])

r, D, x_2000 = map(int, input().split())
print(actual(r, D, x_2000))