<?php

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

	$a = intval($num[0]);
	$b = intval($num[1]);
	$c = intval($num[2]);
	$ans;

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

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

			$ans++;

		}
	}
			echo ($ans);
?>