import sys
sys.setrecursionlimit(10**9)

def mi(): return map(int,input().split())
def ii(): return int(input())
def isp(): return input().split()
def deb(text): print("-------\n{}\n-------".format(text))

INF=10**20
def main():
    r,D,x=mi()
    for i in range(10):
        x = x*r - D
        print(x)
        




if __name__ == "__main__":
    main() import sys sys sys.setrecursionlimit(10**9) sys.setrecursionlimit sys setrecursionlimit 10**9 10 9 def mi(): return map(int,input().split()) mi def ii(): return int(input()) ii def isp(): return input().split() isp def deb(text): print("-------\n{}\n-------".format(text)) deb text text INF=10**20 INF 10**20 10 20 def main():
    r,D,x=mi()
    for i in range(10):
        x = x*r - D
        print(x)
         main r,D,x=mi() r mi() mi D x for i in range(10):
        x = x*r - D
        print(x)
         i range(10) range 10 x = x*r - D x x*r - D x*r x r D print(x) print x if __name__ == "__main__":
    main() __name__ == "__main__" __name__ "__main__" main() main def deb(text): print("-------\n{}\n-------".format(text)) def deb(text): print("-------\n{}\n-------".format(text)) deb def ii(): return int(input()) def ii(): return int(input()) ii def isp(): return input().split() def isp(): return input().split() isp def main():
    r,D,x=mi()
    for i in range(10):
        x = x*r - D
        print(x)
         def main():
    r,D,x=mi()
    for i in range(10):
        x = x*r - D
        print(x)
         main def mi(): return map(int,input().split()) def mi(): return map(int,input().split()) mi INF=10**20 10**20 INF
import sys
sys.setrecursionlimit(10**9)

def mi(): return map(int,input().split())
def ii(): return int(input())
def isp(): return input().split()
def deb(text): print("-------\n{}\n-------".format(text))

INF=10**20
def main():
    r,D,x=mi()
    for i in range(10):
        x = x*r - D
        print(x)
        




if __name__ == "__main__":
    main()