<?php
$in = explode(" ", trim(fgets(STDIN)));
$a = $in[0];
$b = $in[1];
$c = $in[2];

$count = 0;
for($i = 5; $i <= $b; $i++)
{
    if($c % $i == 0)
    {
        $count += 1;
    }
}
echo $count . "\n";