using System;

class Program {
    static void Main( string[] args )
    {
        string[] s = Console.ReadLine().Split();

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

        int count = 0;

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

        Console.Write( count );
    }
}