import Control.Monad
     
main = do
    [a, b, c] <- map . read words <$> getLine
    putStrLn $ solve $ a b c
        
solve a b c = show . solvebody a b c
    where 
        solvebody a b c
            | a * c <= b = c
            | otherwise  = b `div` a