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