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