import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Scanner;


public class Main {
	public static void main(String[] args) {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		
		int x=scan.nextInt();
		int y=scan.nextInt();
		int z=scan.nextInt();
		int c=0;
		for (int i = x; i <= y; i++) {
			if(z%i==0)
				c++;
		}
		System.out.println(c);
		
	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		
		int x=scan.nextInt();
		int y=scan.nextInt();
		int z=scan.nextInt();
		int c=0;
		for (int i = x; i <= y; i++) {
			if(z%i==0)
				c++;
		}
		System.out.println(c);
		
	}

} Main public static void main(String[] args) {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		
		int x=scan.nextInt();
		int y=scan.nextInt();
		int z=scan.nextInt();
		int c=0;
		for (int i = x; i <= y; i++) {
			if(z%i==0)
				c++;
		}
		System.out.println(c);
		
	} main {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		
		int x=scan.nextInt();
		int y=scan.nextInt();
		int z=scan.nextInt();
		int c=0;
		for (int i = x; i <= y; i++) {
			if(z%i==0)
				c++;
		}
		System.out.println(c);
		
	} BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in))); scan new Scanner(new BufferedReader(new InputStreamReader(System.in))) int x=scan.nextInt(); x scan.nextInt() scan.nextInt scan int y=scan.nextInt(); y scan.nextInt() scan.nextInt scan int z=scan.nextInt(); z scan.nextInt() scan.nextInt scan int c=0; c 0 for (int i = x; i <= y; i++) {
			if(z%i==0)
				c++;
		} int i = x; int i = x; i x i <= y i y i++ i++ i {
			if(z%i==0)
				c++;
		} {
			if(z%i==0)
				c++;
		} if(z%i==0)
				c++; z%i==0 z%i z i 0 c++ c System.out.println(c) System.out.println System.out System System.out c String[] args args public class Main {
	public static void main(String[] args) {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		
		int x=scan.nextInt();
		int y=scan.nextInt();
		int z=scan.nextInt();
		int c=0;
		for (int i = x; i <= y; i++) {
			if(z%i==0)
				c++;
		}
		System.out.println(c);
		
	}

} public class Main {
	public static void main(String[] args) {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		
		int x=scan.nextInt();
		int y=scan.nextInt();
		int z=scan.nextInt();
		int c=0;
		for (int i = x; i <= y; i++) {
			if(z%i==0)
				c++;
		}
		System.out.println(c);
		
	}

} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Scanner;


public class Main {
	public static void main(String[] args) {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		
		int x=scan.nextInt();
		int y=scan.nextInt();
		int z=scan.nextInt();
		int c=0;
		for (int i = x; i <= y; i++) {
			if(z%i==0)
				c++;
		}
		System.out.println(c);
		
	}

}