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