def solve():
    N, M, L = map(int, input().split())
    
    a = L
    for i in range(10):
        a = N*a - M
        print(a)

# print(solve())

# def solve()が@return voidのとき
solve() def solve():
    N, M, L = map(int, input().split())
    
    a = L
    for i in range(10):
        a = N*a - M
        print(a)

# print(solve())

# def solve()が@return voidのとき solve N, M, L = map(int, input().split()) N map(int, input().split()) map int input().split() ().split () input split M L a = L a L for i in range(10):
        a = N*a - M
        print(a)

# print(solve())

# def solve()が@return voidのとき i range(10) range 10 a = N*a - M a N*a - M N*a N a M print(a) print a solve() solve def solve():
    N, M, L = map(int, input().split())
    
    a = L
    for i in range(10):
        a = N*a - M
        print(a)

# print(solve())

# def solve()が@return voidのとき def solve():
    N, M, L = map(int, input().split())
    
    a = L
    for i in range(10):
        a = N*a - M
        print(a)

# print(solve())

# def solve()が@return voidのとき solve
def solve():
    N, M, L = map(int, input().split())
    
    a = L
    for i in range(10):
        a = N*a - M
        print(a)

# print(solve())

# def solve()が@return voidのとき
solve()