import java.util.Scanner;

class Main{
	static public void main (String args[]){
		Scanner sc = new Scanner(System.in);
		sc.useDelimiter("\\s");
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int i = 0;

		while(true){
			if(c%a == 0){
				i++;
			}
			a++;
			if(a>b)
				break;
		}
		System.out.println(i);
	}
} import java.util.Scanner; Scanner java.util class Main{
	static public void main (String args[]){
		Scanner sc = new Scanner(System.in);
		sc.useDelimiter("\\s");
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int i = 0;

		while(true){
			if(c%a == 0){
				i++;
			}
			a++;
			if(a>b)
				break;
		}
		System.out.println(i);
	}
} Main static public void main (String args[]){
		Scanner sc = new Scanner(System.in);
		sc.useDelimiter("\\s");
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int i = 0;

		while(true){
			if(c%a == 0){
				i++;
			}
			a++;
			if(a>b)
				break;
		}
		System.out.println(i);
	} main {
		Scanner sc = new Scanner(System.in);
		sc.useDelimiter("\\s");
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int i = 0;

		while(true){
			if(c%a == 0){
				i++;
			}
			a++;
			if(a>b)
				break;
		}
		System.out.println(i);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) sc.useDelimiter("\\s") sc.useDelimiter sc "\\s" int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc int c = sc.nextInt(); c sc.nextInt() sc.nextInt sc int i = 0; i 0 while(true){
			if(c%a == 0){
				i++;
			}
			a++;
			if(a>b)
				break;
		} true {
			if(c%a == 0){
				i++;
			}
			a++;
			if(a>b)
				break;
		} if(c%a == 0){
				i++;
			} c%a == 0 c%a c a 0 {
				i++;
			} i++ i a++ a if(a>b)
				break; a>b a b break; System.out.println(i) System.out.println System.out System System.out i String args[] args
import java.util.Scanner;

class Main{
	static public void main (String args[]){
		Scanner sc = new Scanner(System.in);
		sc.useDelimiter("\\s");
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int i = 0;

		while(true){
			if(c%a == 0){
				i++;
			}
			a++;
			if(a>b)
				break;
		}
		System.out.println(i);
	}
}