import sys
input = sys.stdin.readline
def main():
    r, D, Xtt = map(int, input().split())
    ans = Xtt
    for i in range(10):
        ans = r*ans - D
        print(ans)

if __name__ == '__main__':
    main() import sys sys input = sys.stdin.readline input sys.stdin.readline sys.stdin sys stdin readline def main():
    r, D, Xtt = map(int, input().split())
    ans = Xtt
    for i in range(10):
        ans = r*ans - D
        print(ans) main r, D, Xtt = map(int, input().split()) r map(int, input().split()) map int input().split() ().split () input split D Xtt ans = Xtt ans Xtt for i in range(10):
        ans = r*ans - D
        print(ans) i range(10) range 10 ans = r*ans - D ans r*ans - D r*ans r ans D print(ans) print ans if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main input = sys.stdin.readline sys.stdin.readline input def main():
    r, D, Xtt = map(int, input().split())
    ans = Xtt
    for i in range(10):
        ans = r*ans - D
        print(ans) def main():
    r, D, Xtt = map(int, input().split())
    ans = Xtt
    for i in range(10):
        ans = r*ans - D
        print(ans) main
import sys
input = sys.stdin.readline
def main():
    r, D, Xtt = map(int, input().split())
    ans = Xtt
    for i in range(10):
        ans = r*ans - D
        print(ans)

if __name__ == '__main__':
    main()