import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
	int a,b,c,s=0;
	Scanner scan = new Scanner(System.in);
	
	a= Integer.parseInt(scan.next());
	b= Integer.parseInt(scan.next());
	c= Integer.parseInt(scan.next());

	for(;a<=b;a++) {
		if(c%a==0)
			s++;
	}
	System.out.println(s);
	}
	
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
	int a,b,c,s=0;
	Scanner scan = new Scanner(System.in);
	
	a= Integer.parseInt(scan.next());
	b= Integer.parseInt(scan.next());
	c= Integer.parseInt(scan.next());

	for(;a<=b;a++) {
		if(c%a==0)
			s++;
	}
	System.out.println(s);
	}
	
} Main public static void main(String[] args) {
	int a,b,c,s=0;
	Scanner scan = new Scanner(System.in);
	
	a= Integer.parseInt(scan.next());
	b= Integer.parseInt(scan.next());
	c= Integer.parseInt(scan.next());

	for(;a<=b;a++) {
		if(c%a==0)
			s++;
	}
	System.out.println(s);
	} main {
	int a,b,c,s=0;
	Scanner scan = new Scanner(System.in);
	
	a= Integer.parseInt(scan.next());
	b= Integer.parseInt(scan.next());
	c= Integer.parseInt(scan.next());

	for(;a<=b;a++) {
		if(c%a==0)
			s++;
	}
	System.out.println(s);
	} int a a b b c c s=0; s 0 Scanner scan = new Scanner(System.in); scan new Scanner(System.in) a= Integer.parseInt(scan.next()) a Integer.parseInt(scan.next()) Integer.parseInt Integer scan.next() scan.next scan b= Integer.parseInt(scan.next()) b Integer.parseInt(scan.next()) Integer.parseInt Integer scan.next() scan.next scan c= Integer.parseInt(scan.next()) c Integer.parseInt(scan.next()) Integer.parseInt Integer scan.next() scan.next scan for(;a<=b;a++) {
		if(c%a==0)
			s++;
	} ; a<=b a b a++ a++ a {
		if(c%a==0)
			s++;
	} {
		if(c%a==0)
			s++;
	} if(c%a==0)
			s++; c%a==0 c%a c a 0 s++ s System.out.println(s) System.out.println System.out System System.out s String[] args args public class Main {
	public static void main(String[] args) {
	int a,b,c,s=0;
	Scanner scan = new Scanner(System.in);
	
	a= Integer.parseInt(scan.next());
	b= Integer.parseInt(scan.next());
	c= Integer.parseInt(scan.next());

	for(;a<=b;a++) {
		if(c%a==0)
			s++;
	}
	System.out.println(s);
	}
	
} public class Main {
	public static void main(String[] args) {
	int a,b,c,s=0;
	Scanner scan = new Scanner(System.in);
	
	a= Integer.parseInt(scan.next());
	b= Integer.parseInt(scan.next());
	c= Integer.parseInt(scan.next());

	for(;a<=b;a++) {
		if(c%a==0)
			s++;
	}
	System.out.println(s);
	}
	
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
	int a,b,c,s=0;
	Scanner scan = new Scanner(System.in);
	
	a= Integer.parseInt(scan.next());
	b= Integer.parseInt(scan.next());
	c= Integer.parseInt(scan.next());

	for(;a<=b;a++) {
		if(c%a==0)
			s++;
	}
	System.out.println(s);
	}
	
}