def resolve():
    #n=int(input())
    #a,b=map(int,input().split())
    #x=list(map(int,input().split()))
    #a=[list(map(lambda x:int(x)%2,input().split())) for _ in range(h)]
    r,d,x=map(int,input().split())
    for i in range(10):
        x=r*x-d
        print(x)
    
    
if __name__ == '__main__':
    resolve() def resolve():
    #n=int(input())
    #a,b=map(int,input().split())
    #x=list(map(int,input().split()))
    #a=[list(map(lambda x:int(x)%2,input().split())) for _ in range(h)]
    r,d,x=map(int,input().split())
    for i in range(10):
        x=r*x-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=r*x-d
        print(x)
    
     i range(10) range 10 x=r*x-d x r*x-d r*x r x d print(x) print x if __name__ == '__main__':
    resolve() __name__ == '__main__' __name__ '__main__' resolve() resolve def resolve():
    #n=int(input())
    #a,b=map(int,input().split())
    #x=list(map(int,input().split()))
    #a=[list(map(lambda x:int(x)%2,input().split())) for _ in range(h)]
    r,d,x=map(int,input().split())
    for i in range(10):
        x=r*x-d
        print(x)
    
     def resolve():
    #n=int(input())
    #a,b=map(int,input().split())
    #x=list(map(int,input().split()))
    #a=[list(map(lambda x:int(x)%2,input().split())) for _ in range(h)]
    r,d,x=map(int,input().split())
    for i in range(10):
        x=r*x-d
        print(x)
    
     resolve
def resolve():
    #n=int(input())
    #a,b=map(int,input().split())
    #x=list(map(int,input().split()))
    #a=[list(map(lambda x:int(x)%2,input().split())) for _ in range(h)]
    r,d,x=map(int,input().split())
    for i in range(10):
        x=r*x-d
        print(x)
    
    
if __name__ == '__main__':
    resolve()