Module _20190525

    Sub Main()

        Dim sRead As String = Console.ReadLine()

        Dim r As Integer = sRead.Split(" ")(0)
        Dim D As Integer = sRead.Split(" ")(1)
        Dim X2000 As Integer = sRead.Split(" ")(2)

        Dim XNext As Integer = r * X2000 - D

        Console.WriteLine(XNext)

        For i As Integer = 2 To 10

            XNext = r * XNext - D

            Console.WriteLine(XNext)

        Next

    End Sub

End Module