from sys import stdin, setrecursionlimit


def main():
    input = stdin.buffer.readline
    r, d, x = map(int, input().split())
    for _ in range(10):
        x = r * x - d
        print(x)


if __name__ == "__main__":
    setrecursionlimit(10000)
    main() from sys import stdin, setrecursionlimit def main():
    input = stdin.buffer.readline
    r, d, x = map(int, input().split())
    for _ in range(10):
        x = r * x - d
        print(x) main input = stdin.buffer.readline input stdin.buffer.readline stdin.buffer stdin buffer readline r, d, x = map(int, input().split()) r map(int, input().split()) map int input().split() ().split () input split d x for _ in range(10):
        x = r * x - d
        print(x) _ range(10) range 10 x = r * x - d x r * x - d r * x r x d print(x) print x if __name__ == "__main__":
    setrecursionlimit(10000)
    main() __name__ == "__main__" __name__ "__main__" setrecursionlimit(10000) setrecursionlimit 10000 main() main def main():
    input = stdin.buffer.readline
    r, d, x = map(int, input().split())
    for _ in range(10):
        x = r * x - d
        print(x) def main():
    input = stdin.buffer.readline
    r, d, x = map(int, input().split())
    for _ in range(10):
        x = r * x - d
        print(x) main
from sys import stdin, setrecursionlimit


def main():
    input = stdin.buffer.readline
    r, d, x = map(int, input().split())
    for _ in range(10):
        x = r * x - d
        print(x)


if __name__ == "__main__":
    setrecursionlimit(10000)
    main()
