def resolve():
    r, D, x = map(int, input().split())

    ans = [0 for _ in range(11)]
    ans[0] = x
    for i in range(1, 11):
        ans[i] = r * ans[i-1] - D

    print('\n'.join(map(str, ans[1:])))


resolve() def resolve():
    r, D, x = map(int, input().split())

    ans = [0 for _ in range(11)]
    ans[0] = x
    for i in range(1, 11):
        ans[i] = r * ans[i-1] - D

    print('\n'.join(map(str, ans[1:]))) resolve r, D, x = map(int, input().split()) r map(int, input().split()) map int input().split() ().split () input split D x 0 for _ in range(11) for _ in range(11) _ range(11) range 11 for _ in range(11) 0 ans = [0 for _ in range(11)] ans [0 for _ in range(11)] ans[0] = x ans[0] ans 0 x for i in range(1, 11):
        ans[i] = r * ans[i-1] - D

     i range(1, 11) range 1 11 ans[i] = r * ans[i-1] - D ans[i] ans i r * ans[i-1] - D r * ans[i-1] r ans[i-1] ans i-1 i 1 D print('\n'.join(map(str, ans[1:]))) print '\n'.join(map(str, ans[1:])) '\n'.join '\n' join map(str, ans[1:]) map str ans[1:] ans 1: 1 resolve() resolve def resolve():
    r, D, x = map(int, input().split())

    ans = [0 for _ in range(11)]
    ans[0] = x
    for i in range(1, 11):
        ans[i] = r * ans[i-1] - D

    print('\n'.join(map(str, ans[1:]))) def resolve():
    r, D, x = map(int, input().split())

    ans = [0 for _ in range(11)]
    ans[0] = x
    for i in range(1, 11):
        ans[i] = r * ans[i-1] - D

    print('\n'.join(map(str, ans[1:]))) resolve
def resolve():
    r, D, x = map(int, input().split())

    ans = [0 for _ in range(11)]
    ans[0] = x
    for i in range(1, 11):
        ans[i] = r * ans[i-1] - D

    print('\n'.join(map(str, ans[1:])))


resolve()