# -*- coding: utf-8 -*-

def main():

    r, D, x = map(int, input().split())
    ans = []

    for i in range(10):
        x = r * x - D
        ans.append(x)

    for i in ans:
        print(i)


if __name__ == "__main__":
    main() def main():

    r, D, x = map(int, input().split())
    ans = []

    for i in range(10):
        x = r * x - D
        ans.append(x)

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

     i range(10) range 10 x = r * x - D x r * x - D r * x r x D ans.append(x) ans.append ans append x for i in ans:
        print(i) i ans print(i) print i if __name__ == "__main__":
    main() __name__ == "__main__" __name__ "__main__" main() main def main():

    r, D, x = map(int, input().split())
    ans = []

    for i in range(10):
        x = r * x - D
        ans.append(x)

    for i in ans:
        print(i) def main():

    r, D, x = map(int, input().split())
    ans = []

    for i in range(10):
        x = r * x - D
        ans.append(x)

    for i in ans:
        print(i) main
# -*- coding: utf-8 -*-

def main():

    r, D, x = map(int, input().split())
    ans = []

    for i in range(10):
        x = r * x - D
        ans.append(x)

    for i in ans:
        print(i)


if __name__ == "__main__":
    main()