main :: IO()
main = do
    [r, d, x2000] <- map read . words <$> getLine
    mapM_ print $ take 10 $ solve r d x2000

solve :: Int -> Int -> Int -> [Int]
solve r d x = w : solve r d w
    where w = r * x - d