import Data.Bits
import Data.Foldable (foldlM,foldrM)
import Data.Maybe (fromJust)
import Data.List
import qualified Data.Vector.Unboxed.Mutable as V
import Control.Monad
import qualified Data.ByteString.Lazy.Char8 as B
import Debug.Trace



main :: IO ()
main = do
  [r,d,x] <- map read.words <$> getLine :: IO [Int]
  forM_ (take 10 $ iterate (\y -> r*y - d) x) $ \ans -> do
    print $ ans
