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

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            String[] Array = Console.ReadLine().Split(' ');
            int a = int.Parse(Array[0]);
            int b = int.Parse(Array[1]);
            int c = int.Parse(Array[2]);
            int count = 0;

            for (int i = a; i < b; ++i)
            {

                if (c % i == 0)
                {
                    ++count;
                }
            }
            Console.WriteLine(count);
            }
        }
    }