import Control.Arrow
import Control.Monad
import Data.List
import qualified Data.ByteString.Char8 as B

main :: IO ()
main = readLine >>= printRes . solve
    where
        printRes = mapM_ print

solve :: [Int] -> [Int]
solve [r, d, x2000] = take 10 $ calc x2000
    where
        calc p = res : calc res
            where
                res = r * p - d 

readLine :: IO [Int]
readLine = unfoldr (fmap (second (maybe B.empty snd . B.uncons)) . B.readInt) <$> B.getLine

readContents :: Int -> IO [[Int]]
readContents = flip replicateM readLine