def algae(r, d, x):

    ans = []
    count = x
    for i in range(1, 11):
        count = r*count - d
        ans.append(count)
    return ans

def main():
    r, d, x = map(int, input().split())
    ans = algae(r, d, x)
    for i in ans:
        print(i)

if __name__ == '__main__':
    main() def algae(r, d, x):

    ans = []
    count = x
    for i in range(1, 11):
        count = r*count - d
        ans.append(count)
    return ans algae ans = [] ans [] count = x count x for i in range(1, 11):
        count = r*count - d
        ans.append(count)
     i range(1, 11) range 1 11 count = r*count - d count r*count - d r*count r count d ans.append(count) ans.append ans append count return ans ans r r d d x x def main():
    r, d, x = map(int, input().split())
    ans = algae(r, d, 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 = algae(r, d, x) ans algae(r, d, x) algae r d x for i in ans:
        print(i) i ans print(i) print i if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main def algae(r, d, x):

    ans = []
    count = x
    for i in range(1, 11):
        count = r*count - d
        ans.append(count)
    return ans def algae(r, d, x):

    ans = []
    count = x
    for i in range(1, 11):
        count = r*count - d
        ans.append(count)
    return ans algae def main():
    r, d, x = map(int, input().split())
    ans = algae(r, d, x)
    for i in ans:
        print(i) def main():
    r, d, x = map(int, input().split())
    ans = algae(r, d, x)
    for i in ans:
        print(i) main
def algae(r, d, x):

    ans = []
    count = x
    for i in range(1, 11):
        count = r*count - d
        ans.append(count)
    return ans

def main():
    r, d, x = map(int, input().split())
    ans = algae(r, d, x)
    for i in ans:
        print(i)

if __name__ == '__main__':
    main()