public partial class IntroductionToProgramming{
	public static void HowManyDivisors(){
		string[] line = System.Console.ReadLine().Split(' ');
		int a = int.Parse(line[0]);
		int b = int.Parse(line[1]);
		int c = int.Parse(line[2]);

		int counter = 0;
		for (int i = a; i <= b; i++)
		{
			if (c % i == 0)
			{
				counter++;
			}
		}

		System.Console.WriteLine(counter.ToString());
	}
}