r,d,l = (int(xi) for xi in input().split())


for xi in range(10):
    l = r*l-d
    print(l) int(xi) for xi in input().split() for xi in input().split() xi input().split() ().split () input split for xi in input().split() int(xi) int xi r,d,l = (int(xi) for xi in input().split()) r (int(xi) for xi in input().split()) d l for xi in range(10):
    l = r*l-d
    print(l) xi range(10) range 10 l = r*l-d l r*l-d r*l r l d print(l) print l l = r*l-d r*l-d l r,d,l = (int(xi) for xi in input().split()) (int(xi) for xi in input().split()) r l = (int(xi) for xi in input().split()) (int(xi) for xi in input().split()) l d,l = (int(xi) for xi in input().split()) (int(xi) for xi in input().split()) d
r,d,l = (int(xi) for xi in input().split())


for xi in range(10):
    l = r*l-d
    print(l)
