import Control.Applicative
import Control.Monad

divisorsList :: [Int] -> [Int]
divisorsList [h, l, divided] = filter (\x -> divided `mod` x == 0) [h..l]

answer :: [Int] -> String
answer = show . length . divisorsList

main = do
    x <- getLine
    putStrLn $ answer (map read $ words x)

