def main() -> None:
    r, D, x = map(int, input().split())
    for _ in range(10):
        x = r * x - D
        print(x)


if __name__ == '__main__':
    main() def main() -> None:
    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 def main() -> None:
    r, D, x = map(int, input().split())
    for _ in range(10):
        x = r * x - D
        print(x) def main() -> None:
    r, D, x = map(int, input().split())
    for _ in range(10):
        x = r * x - D
        print(x) main
def main() -> None:
    r, D, x = map(int, input().split())
    for _ in range(10):
        x = r * x - D
        print(x)


if __name__ == '__main__':
    main()
