import Control.Monad
import Data.Maybe
import qualified Data.ByteString.Char8 as BS
import Data.List

readInt = fst . fromJust . BS.readInt
readIntList = map readInt . BS.words
getInt = readInt <$> BS.getLine
getIntList = readIntList <$> BS.getLine

main = do
    [r, d, x] <- getIntList
    mapM print $ take 10 $ iterate (solve r d) (solve r d x)

solve r d x = r * x - d