using System;
using System.Collections.Generic;

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

        String[] aryStr = Console.ReadLine().Split(' ');

        int a = int.Parse(aryStr[0]);
        int b = int.Parse(aryStr[1]);
        int c = int.Parse(aryStr[2]);

        int count = 0;

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

        Console.WriteLine(count);

    }
}