import Control.Monad

readIntLine :: IO ([Int])
readIntLine = do
    x <- getLine
    return $ map (read :: String -> Int) $ words x

main :: IO ()
main = do
    [r,d,x] <- readIntLine
    mapM_ print $ solve r d x 10

solve r d x 0 = []
solve r d x z = a:(solve r d a (z-1))
    where a = r*x - d
