def main():
    inp=list(map(lambda x:int(x),input().split()))
    r=inp[0]
    D=inp[1]
    x=inp[2]

    res_array=[]
    for i in range(10):
        x=r*x-D
        res_array.append(x)

    for i in res_array:
        print(i)


if __name__=="__main__":
    main()
    

     def main():
    inp=list(map(lambda x:int(x),input().split()))
    r=inp[0]
    D=inp[1]
    x=inp[2]

    res_array=[]
    for i in range(10):
        x=r*x-D
        res_array.append(x)

    for i in res_array:
        print(i) main inp=list(map(lambda x:int(x),input().split())) inp list(map(lambda x:int(x),input().split())) list map(lambda x:int(x),input().split()) map lambda x:int(x) int(x) int x x input().split() ().split () input split r=inp[0] r inp[0] inp 0 D=inp[1] D inp[1] inp 1 x=inp[2] x inp[2] inp 2 res_array=[] res_array [] for i in range(10):
        x=r*x-D
        res_array.append(x)

     i range(10) range 10 x=r*x-D x r*x-D r*x r x D res_array.append(x) res_array.append res_array append x for i in res_array:
        print(i) i res_array print(i) print i if __name__=="__main__":
    main()
    

     __name__=="__main__" __name__ "__main__" main() main def main():
    inp=list(map(lambda x:int(x),input().split()))
    r=inp[0]
    D=inp[1]
    x=inp[2]

    res_array=[]
    for i in range(10):
        x=r*x-D
        res_array.append(x)

    for i in res_array:
        print(i) def main():
    inp=list(map(lambda x:int(x),input().split()))
    r=inp[0]
    D=inp[1]
    x=inp[2]

    res_array=[]
    for i in range(10):
        x=r*x-D
        res_array.append(x)

    for i in res_array:
        print(i) main
def main():
    inp=list(map(lambda x:int(x),input().split()))
    r=inp[0]
    D=inp[1]
    x=inp[2]

    res_array=[]
    for i in range(10):
        x=r*x-D
        res_array.append(x)

    for i in res_array:
        print(i)


if __name__=="__main__":
    main()
    

    
