import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan=new Scanner(System.in);
int a=scan.nextInt();
int b=scan.nextInt();
int c=scan.nextInt();
int d=0;
do{
	if(c%a==0){
		d++;
	}
	a++;
	if(a>b)break;
}while(true);
System.out.println(d);
scan.close();
	}
} import java.util.Scanner; Scanner java.util public class Main {
public static void main(String[] args) {
Scanner scan=new Scanner(System.in);
int a=scan.nextInt();
int b=scan.nextInt();
int c=scan.nextInt();
int d=0;
do{
	if(c%a==0){
		d++;
	}
	a++;
	if(a>b)break;
}while(true);
System.out.println(d);
scan.close();
	}
} Main public static void main(String[] args) {
Scanner scan=new Scanner(System.in);
int a=scan.nextInt();
int b=scan.nextInt();
int c=scan.nextInt();
int d=0;
do{
	if(c%a==0){
		d++;
	}
	a++;
	if(a>b)break;
}while(true);
System.out.println(d);
scan.close();
	} main {
Scanner scan=new Scanner(System.in);
int a=scan.nextInt();
int b=scan.nextInt();
int c=scan.nextInt();
int d=0;
do{
	if(c%a==0){
		d++;
	}
	a++;
	if(a>b)break;
}while(true);
System.out.println(d);
scan.close();
	} 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 d=0; d 0 do{
	if(c%a==0){
		d++;
	}
	a++;
	if(a>b)break;
}while(true); true {
	if(c%a==0){
		d++;
	}
	a++;
	if(a>b)break;
} if(c%a==0){
		d++;
	} c%a==0 c%a c a 0 {
		d++;
	} d++ d a++ a if(a>b)break; a>b a b break; System.out.println(d) System.out.println System.out System System.out d scan.close() scan.close scan String[] args args public class Main {
public static void main(String[] args) {
Scanner scan=new Scanner(System.in);
int a=scan.nextInt();
int b=scan.nextInt();
int c=scan.nextInt();
int d=0;
do{
	if(c%a==0){
		d++;
	}
	a++;
	if(a>b)break;
}while(true);
System.out.println(d);
scan.close();
	}
} public class Main {
public static void main(String[] args) {
Scanner scan=new Scanner(System.in);
int a=scan.nextInt();
int b=scan.nextInt();
int c=scan.nextInt();
int d=0;
do{
	if(c%a==0){
		d++;
	}
	a++;
	if(a>b)break;
}while(true);
System.out.println(d);
scan.close();
	}
} Main
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan=new Scanner(System.in);
int a=scan.nextInt();
int b=scan.nextInt();
int c=scan.nextInt();
int d=0;
do{
	if(c%a==0){
		d++;
	}
	a++;
	if(a>b)break;
}while(true);
System.out.println(d);
scan.close();
	}
}