import java.util.Scanner;

public class Main{
    public static void main(String argv[]){
	Scanner scan = new Scanner(System.in);

	int a = scan.nextInt();
	int b = scan.nextInt();
	int c = scan.nextInt();
	int i,count=0;
	for( i = b ; i >= a ;i-- )
	    {
		if( c % i == 0 )
		    count++;
	    }
	System.out.println(count);
    }
}
	 import java.util.Scanner; Scanner java.util public class Main{
    public static void main(String argv[]){
	Scanner scan = new Scanner(System.in);

	int a = scan.nextInt();
	int b = scan.nextInt();
	int c = scan.nextInt();
	int i,count=0;
	for( i = b ; i >= a ;i-- )
	    {
		if( c % i == 0 )
		    count++;
	    }
	System.out.println(count);
    }
} Main public static void main(String argv[]){
	Scanner scan = new Scanner(System.in);

	int a = scan.nextInt();
	int b = scan.nextInt();
	int c = scan.nextInt();
	int i,count=0;
	for( i = b ; i >= a ;i-- )
	    {
		if( c % i == 0 )
		    count++;
	    }
	System.out.println(count);
    } main {
	Scanner scan = new Scanner(System.in);

	int a = scan.nextInt();
	int b = scan.nextInt();
	int c = scan.nextInt();
	int i,count=0;
	for( i = b ; i >= a ;i-- )
	    {
		if( c % i == 0 )
		    count++;
	    }
	System.out.println(count);
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan int b = scan.nextInt(); b scan.nextInt() scan.nextInt scan int c = scan.nextInt(); c scan.nextInt() scan.nextInt scan int i i count=0; count 0 for( i = b ; i >= a ;i-- )
	    {
		if( c % i == 0 )
		    count++;
	    } i = b ; i = b i b i >= a i a i-- i-- i {
		if( c % i == 0 )
		    count++;
	    } {
		if( c % i == 0 )
		    count++;
	    } if( c % i == 0 )
		    count++; c % i == 0 c % i c i 0 count++ count System.out.println(count) System.out.println System.out System System.out count String argv[] argv public class Main{
    public static void main(String argv[]){
	Scanner scan = new Scanner(System.in);

	int a = scan.nextInt();
	int b = scan.nextInt();
	int c = scan.nextInt();
	int i,count=0;
	for( i = b ; i >= a ;i-- )
	    {
		if( c % i == 0 )
		    count++;
	    }
	System.out.println(count);
    }
} public class Main{
    public static void main(String argv[]){
	Scanner scan = new Scanner(System.in);

	int a = scan.nextInt();
	int b = scan.nextInt();
	int c = scan.nextInt();
	int i,count=0;
	for( i = b ; i >= a ;i-- )
	    {
		if( c % i == 0 )
		    count++;
	    }
	System.out.println(count);
    }
} Main
import java.util.Scanner;

public class Main{
    public static void main(String argv[]){
	Scanner scan = new Scanner(System.in);

	int a = scan.nextInt();
	int b = scan.nextInt();
	int c = scan.nextInt();
	int i,count=0;
	for( i = b ; i >= a ;i-- )
	    {
		if( c % i == 0 )
		    count++;
	    }
	System.out.println(count);
    }
}
	