import sys
input = lambda: sys.stdin.readline().rstrip()
input_nums = lambda: list(map(int, input().split()))

def main():
    r, D, x = input_nums()
    for i in range(10):
        x = r*x - D
        print(x)

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

def main():
    r, D, x = input_nums()
    for i in range(10):
        x = r*x - D
        print(x)

if __name__ == '__main__':
    main()
