using System;
using System.Collections.Generic;
class Program
{
	static void Main(string[] args)
	{
		string[] str = Console.ReadLine().Split(' ');
		int a = int.Parse(str[0]);
		int b = int.Parse(str[1]);
		int c = int.Parse(str[2]);
		int count = 0;
		for(var i=a;i<b;i++){
			if(c % i == 0){
				count += 1;
			}
		}
		Console.WriteLine(count);
	}
}
