def main():
    r, d, x = list(map(int, input().split()))
    ans = x
    for i in range(1, 11):
        ans = (r*ans)-d
        print(ans)

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

if __name__ == '__main__':
    main()