c = [int(i) for i in input().split() if i.isdigit()] 
for i in range(1,11):
    c[2] = (c[0] * c[2]) - c[1]
    print(c[2]) int(i) for i in input().split() if i.isdigit() for i in input().split() if i.isdigit() i input().split() ().split () input split i.isdigit() i.isdigit i isdigit if i.isdigit() int(i) int i c = [int(i) for i in input().split() if i.isdigit()] c [int(i) for i in input().split() if i.isdigit()] for i in range(1,11):
    c[2] = (c[0] * c[2]) - c[1]
    print(c[2]) i range(1,11) range 1 11 c[2] = (c[0] * c[2]) - c[1] c[2] c 2 (c[0] * c[2]) - c[1] c[0] * c[2] c[0] c 0 c[2] c 2 c[1] c 1 print(c[2]) print c[2] c 2 c = [int(i) for i in input().split() if i.isdigit()] [int(i) for i in input().split() if i.isdigit()] c
c = [int(i) for i in input().split() if i.isdigit()] 
for i in range(1,11):
    c[2] = (c[0] * c[2]) - c[1]
    print(c[2])