import sys
input = lambda: sys.stdin.readline().rstrip()

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

def main():
    r, d, x = map(int, input().split())
    for _ in range(10):
        x = r*x-d
        print(x)
    
if __name__ == '__main__':
    main()