import sys
import math
import bisect


def main():
    r, d, x = map(int, input().split())
    A = []
    for _ in range(10):
        x = r * x - d
        A.append(x)
    for a in A:
        print(a)

if __name__ == "__main__":
    main() import sys sys import math math import bisect bisect def main():
    r, d, x = map(int, input().split())
    A = []
    for _ in range(10):
        x = r * x - d
        A.append(x)
    for a in A:
        print(a) main r, d, x = map(int, input().split()) r map(int, input().split()) map int input().split() ().split () input split d x A = [] A [] for _ in range(10):
        x = r * x - d
        A.append(x)
     _ range(10) range 10 x = r * x - d x r * x - d r * x r x d A.append(x) A.append A append x for a in A:
        print(a) a A print(a) print a if __name__ == "__main__":
    main() __name__ == "__main__" __name__ "__main__" main() main def main():
    r, d, x = map(int, input().split())
    A = []
    for _ in range(10):
        x = r * x - d
        A.append(x)
    for a in A:
        print(a) def main():
    r, d, x = map(int, input().split())
    A = []
    for _ in range(10):
        x = r * x - d
        A.append(x)
    for a in A:
        print(a) main
import sys
import math
import bisect


def main():
    r, d, x = map(int, input().split())
    A = []
    for _ in range(10):
        x = r * x - d
        A.append(x)
    for a in A:
        print(a)

if __name__ == "__main__":
    main()
