using System;

class main
{
    public static void Main()
    {
        string[] s = Console.ReadLine().Split(' ');
        int a = int.Parse(s[0]), b = int.Parse(s[1]), c = int.Parse(s[2]);

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

        Console.WriteLine(count);
    }
}