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

$cnt = 0;
for($i=$a; $i<=$b; $i++){
      if($c % $i == 0){
        $cnt++;
     }
}
echo $cnt;

?>