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


if __name__ == '__main__':
    q2() def q2():
    r,D,x = (int(i) for i in input().split())
    for i in range(10):
        x = r * x - D
        print(x) q2 int(i) for i in input().split() for i in input().split() i input().split() ().split () input split for i in input().split() int(i) int i r,D,x = (int(i) for i in input().split()) r (int(i) for i in 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__':
    q2() __name__ == '__main__' __name__ '__main__' q2() q2 def q2():
    r,D,x = (int(i) for i in input().split())
    for i in range(10):
        x = r * x - D
        print(x) def q2():
    r,D,x = (int(i) for i in input().split())
    for i in range(10):
        x = r * x - D
        print(x) q2
def q2():
    r,D,x = (int(i) for i in input().split())
    for i in range(10):
        x = r * x - D
        print(x)


if __name__ == '__main__':
    q2()