module Main where

import qualified Data.Vector as V 
import qualified Data.Map as M

readint :: IO Int
readint = read <$> getLine

readvec :: IO [Int]
readvec = (fmap read . words) <$> getLine

main :: IO()
main = do
  [a,b,c] <- readvec
  --print a
  --print b
  --print c
  print $ min (floor $ fromIntegral b / fromIntegral a) c
