import Control.Monad
import Control.Applicative
import Data.List

main :: IO()
main = do
  [a,b,c] <- (map read . words <$> getLine) :: IO [Int]
  let d = a * c
  let e = b `div` d
  let ans = if e == 0 then b `div` a else e * c
  print ans
