import Control.Applicative
import Control.Monad

main = do
  [r, d, init] <- map (read::String -> Int) . words <$> getLine
  let arr = scanl (\acc i -> r * acc - d) init [0..9]
  forM_ arr (\i -> print i)
