solve r d x 0 = []
solve r d x i = x' : solve r d x' (i-1)
                    where
                        x' = (r*x)-d

main = do
    [r,d,x] <- map read . words <$> getLine :: IO [Int]
    mapM_ print $ solve r d x 10
