solve :: Int ->  Int -> Int -> Int -> [Int]
solve 10 r d x = [r * x - d]
solve count r d x = x' : solve (count + 1) r d x'
  where x' = r * x - d

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

