<?php

	// 3????????°????????\???
	$num = preg_split ( '/ /', trim ( fgets ( STDIN ) ) );

	$a = $num[0];
	$b = $num[1];
	$c = $num[2];
	$num;

	for($a = $a; $a <= $b; $a++){

		if($c % $a == 0){

			$num++;

		}
	}
			echo ($num);
?>