getInts :: IO [Int]
getInts = map (read :: String -> Int) <$> words <$> getLine

main :: IO ()
main = do
    [r, d, x] <- getInts
    let f x = r * x - d
    mapM_ print $ take 10 . tail $ iterate f x