import java.util.Scanner;

public class Main {

	public static void main(String[] arges) {

		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] k = line.split(" ");
		int[] v = new int[k.length];
		for (int i = 0; i < v.length; i++) {
			v[i] = Integer.parseInt(k[i]);
		}
		int count = 0;
		for (int i = v[0]; i <= v[1]; i++) {
			if (v[2] % i == 0) {
				count++;
			}
		}
		System.out.println(count);
	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] arges) {

		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] k = line.split(" ");
		int[] v = new int[k.length];
		for (int i = 0; i < v.length; i++) {
			v[i] = Integer.parseInt(k[i]);
		}
		int count = 0;
		for (int i = v[0]; i <= v[1]; i++) {
			if (v[2] % i == 0) {
				count++;
			}
		}
		System.out.println(count);
	}

} Main public static void main(String[] arges) {

		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] k = line.split(" ");
		int[] v = new int[k.length];
		for (int i = 0; i < v.length; i++) {
			v[i] = Integer.parseInt(k[i]);
		}
		int count = 0;
		for (int i = v[0]; i <= v[1]; i++) {
			if (v[2] % i == 0) {
				count++;
			}
		}
		System.out.println(count);
	} main {

		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] k = line.split(" ");
		int[] v = new int[k.length];
		for (int i = 0; i < v.length; i++) {
			v[i] = Integer.parseInt(k[i]);
		}
		int count = 0;
		for (int i = v[0]; i <= v[1]; i++) {
			if (v[2] % i == 0) {
				count++;
			}
		}
		System.out.println(count);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String line = sc.nextLine(); line sc.nextLine() sc.nextLine sc String[] k = line.split(" "); k line.split(" ") line.split line " " int[] v = new int[k.length]; v new int[k.length] k.length k k.length for (int i = 0; i < v.length; i++) {
			v[i] = Integer.parseInt(k[i]);
		} int i = 0; int i = 0; i 0 i < v.length i v.length v v.length i++ i++ i {
			v[i] = Integer.parseInt(k[i]);
		} {
			v[i] = Integer.parseInt(k[i]);
		} v[i] = Integer.parseInt(k[i]) v[i] v i Integer.parseInt(k[i]) Integer.parseInt Integer k[i] k i int count = 0; count 0 for (int i = v[0]; i <= v[1]; i++) {
			if (v[2] % i == 0) {
				count++;
			}
		} int i = v[0]; int i = v[0]; i v[0] v 0 i <= v[1] i v[1] v 1 i++ i++ i {
			if (v[2] % i == 0) {
				count++;
			}
		} {
			if (v[2] % i == 0) {
				count++;
			}
		} if (v[2] % i == 0) {
				count++;
			} v[2] % i == 0 v[2] % i v[2] v 2 i 0 {
				count++;
			} count++ count System.out.println(count) System.out.println System.out System System.out count String[] arges arges public class Main {

	public static void main(String[] arges) {

		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] k = line.split(" ");
		int[] v = new int[k.length];
		for (int i = 0; i < v.length; i++) {
			v[i] = Integer.parseInt(k[i]);
		}
		int count = 0;
		for (int i = v[0]; i <= v[1]; i++) {
			if (v[2] % i == 0) {
				count++;
			}
		}
		System.out.println(count);
	}

} public class Main {

	public static void main(String[] arges) {

		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] k = line.split(" ");
		int[] v = new int[k.length];
		for (int i = 0; i < v.length; i++) {
			v[i] = Integer.parseInt(k[i]);
		}
		int count = 0;
		for (int i = v[0]; i <= v[1]; i++) {
			if (v[2] % i == 0) {
				count++;
			}
		}
		System.out.println(count);
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] arges) {

		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] k = line.split(" ");
		int[] v = new int[k.length];
		for (int i = 0; i < v.length; i++) {
			v[i] = Integer.parseInt(k[i]);
		}
		int count = 0;
		for (int i = v[0]; i <= v[1]; i++) {
			if (v[2] % i == 0) {
				count++;
			}
		}
		System.out.println(count);
	}

}