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

after = r * x - d

for i in range(1,11):

    print(after)

    after = r * after - d
def main():

    r, D, x = (int(i) for i in input().split())



    for i in range(10):

        nx = r*x - D

        print(nx)

        x = nx





if __name__ == '__main__':

    main()

r, d, x = list(map(int, input().split()))
after = r * x - d
for i in range(1, 11):
    print(after)
    after = r * after - d

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


if __name__ == "__main__":
    main()

-r, d, x = list(map(int, input().split())) -after = r * x - d -for i in range(1, 11): -    print(after) -    after = r * after - d +def main(): +    r, D, x = (int(i) for i in input().split()) +    for i in range(10): +        nx = r * x - D +        print(nx) +        x = nx + + +if __name__ == "__main__": +    main()