def main():
    r, D, x = map(int, input().split())
    lst = [0] * 11
    lst[0] = x

    for i in range(1, 11):
        lst[i] = r * lst[i - 1] - D

    print(*lst[1:], sep="\n")


if __name__ == "__main__":
    main() def main():
    r, D, x = map(int, input().split())
    lst = [0] * 11
    lst[0] = x

    for i in range(1, 11):
        lst[i] = r * lst[i - 1] - D

    print(*lst[1:], sep="\n") main r, D, x = map(int, input().split()) r map(int, input().split()) map int input().split() ().split () input split D x lst = [0] * 11 lst [0] * 11 [0] 0 11 lst[0] = x lst[0] lst 0 x for i in range(1, 11):
        lst[i] = r * lst[i - 1] - D

     i range(1, 11) range 1 11 lst[i] = r * lst[i - 1] - D lst[i] lst i r * lst[i - 1] - D r * lst[i - 1] r lst[i - 1] lst i - 1 i 1 D print(*lst[1:], sep="\n") print *lst[1:] lst[1:] lst 1: 1 sep="\n" sep "\n" if __name__ == "__main__":
    main() __name__ == "__main__" __name__ "__main__" main() main def main():
    r, D, x = map(int, input().split())
    lst = [0] * 11
    lst[0] = x

    for i in range(1, 11):
        lst[i] = r * lst[i - 1] - D

    print(*lst[1:], sep="\n") def main():
    r, D, x = map(int, input().split())
    lst = [0] * 11
    lst[0] = x

    for i in range(1, 11):
        lst[i] = r * lst[i - 1] - D

    print(*lst[1:], sep="\n") main
def main():
    r, D, x = map(int, input().split())
    lst = [0] * 11
    lst[0] = x

    for i in range(1, 11):
        lst[i] = r * lst[i - 1] - D

    print(*lst[1:], sep="\n")


if __name__ == "__main__":
    main()
