using System;
 
 
namespace ConsoleApplication2
{
    class Program
    {
        static void Main(string[] args)
        {
           int i=0;


                String s = Console.ReadLine();
                string[] ss = s.Split(' ');
                a = int.Parse(ss[0]);
                b = int.Parse(ss[1]);
                c = int.Parse(ss[2]);
                int x;

                for (x = a ; x <= b ; x++ )
                {
                    y = c % x;
                    if (y = 0){
                       i = i + 1; }
                    
                }
                
                Console.WriteLine(i);
            
        }
    }
}