import Control.Monad

main :: IO ()
main = do
  [r, d, x] <- map read . words <$> getLine
  forM_ (solve r d x) $ \i -> do
    print i

solve :: Int -> Int -> Int -> [Int]
solve r d x = take 10 $ tail $ iterate (\y -> r * y - d) x