def main():
    r, D, x = map(int, input().split())
    ans = []
    for _ in range(10):
        x = r * x - D
        ans.append(str(x))
    print("\n".join(ans))


if __name__ == '__main__':
    main() def main():
    r, D, x = map(int, input().split())
    ans = []
    for _ in range(10):
        x = r * x - D
        ans.append(str(x))
    print("\n".join(ans)) main r, D, x = map(int, input().split()) r map(int, input().split()) map int input().split() ().split () input split D x ans = [] ans [] for _ in range(10):
        x = r * x - D
        ans.append(str(x))
     _ range(10) range 10 x = r * x - D x r * x - D r * x r x D ans.append(str(x)) ans.append ans append str(x) str x print("\n".join(ans)) print "\n".join(ans) "\n".join "\n" join ans if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main def main():
    r, D, x = map(int, input().split())
    ans = []
    for _ in range(10):
        x = r * x - D
        ans.append(str(x))
    print("\n".join(ans)) def main():
    r, D, x = map(int, input().split())
    ans = []
    for _ in range(10):
        x = r * x - D
        ans.append(str(x))
    print("\n".join(ans)) main
def main():
    r, D, x = map(int, input().split())
    ans = []
    for _ in range(10):
        x = r * x - D
        ans.append(str(x))
    print("\n".join(ans))


if __name__ == '__main__':
    main()
