import sys
import math


def input():
    return sys.stdin.readline().rstrip()


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



if __name__ == "__main__":
    main() import sys sys import math math def input():
    return sys.stdin.readline().rstrip() input return sys.stdin.readline().rstrip() sys.stdin.readline().rstrip() sys.stdin.readline().rstrip sys.stdin.readline() sys.stdin.readline sys.stdin sys stdin readline rstrip def main():
    r, D, x = map(int, input().split())
    for i in range(10):
        x = r*x -D
        print(x) main r, D, x = map(int, input().split()) r map(int, input().split()) map int input().split() ().split () 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__":
    main() __name__ == "__main__" __name__ "__main__" main() main def input():
    return sys.stdin.readline().rstrip() def input():
    return sys.stdin.readline().rstrip() input def main():
    r, D, x = map(int, input().split())
    for i in range(10):
        x = r*x -D
        print(x) def main():
    r, D, x = map(int, input().split())
    for i in range(10):
        x = r*x -D
        print(x) main
import sys
import math


def input():
    return sys.stdin.readline().rstrip()


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



if __name__ == "__main__":
    main()
