main :: IO ()
main = do
  [r, d, x2000] <- map read . words <$> getLine
  putStr . unlines . map show $ solve r d x2000

solve :: Int -> Int -> Int -> [Int]
solve r d x2000 = tail . take 11 $ iterate f x2000 where
  f x = r * x - d
