import Control.Applicative
import Data.Char
 
main :: IO ()
main = do
    [a, b, t] <- map read . words <$> getLine
    putStrLn $ show (solve a b t)
    
solve :: Int -> Int -> Int -> Int 
solve a b t = if a <= t then b * (div t a) else 0