using System;
using System.Linq;

namespace _3_D
{
    class Program
    {
        static void Main(string[] args)
        {
            int[] x = Console.ReadLine().Split().Select(int.Parse).ToArray();
            int a = x[0];
            int b = x[1];
            int c = x[2];
            int answer=0;
            for (a=a;a<=b;a++)
            {
                if(c%a==0)
                {
                    answer++;
                }
            }
            Console.WriteLine(answer.ToString());
        }
    }
}