
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;


namespace StartFinish
{
 

    class Program
    {
        static void Main(string[] args)
        {


            int[] abc = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
            int count = 0;
            for (int i = abc[0]; i < abc[1]; i++)
            {
                if (abc[2] % i == 0)
                {
                    count++;
                }
            }
            Console.WriteLine(count);

        }




    }
}