import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.nextLine();
		String[] st = s.split(" ");

		int[] in = new int[3];
		for (int i = 0; i < 3; i++) {
			in[i] = Integer.parseInt(st[i]);
		}

		int x = 0;
		while (in[0] <= in[1]) {
			if (in[2] % in[0] == 0) {
				x++;
			}
			in[0]++;
		}
		System.out.println(x);
	}

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

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.nextLine();
		String[] st = s.split(" ");

		int[] in = new int[3];
		for (int i = 0; i < 3; i++) {
			in[i] = Integer.parseInt(st[i]);
		}

		int x = 0;
		while (in[0] <= in[1]) {
			if (in[2] % in[0] == 0) {
				x++;
			}
			in[0]++;
		}
		System.out.println(x);
	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.nextLine();
		String[] st = s.split(" ");

		int[] in = new int[3];
		for (int i = 0; i < 3; i++) {
			in[i] = Integer.parseInt(st[i]);
		}

		int x = 0;
		while (in[0] <= in[1]) {
			if (in[2] % in[0] == 0) {
				x++;
			}
			in[0]++;
		}
		System.out.println(x);
	} main {
		Scanner sc = new Scanner(System.in);
		String s = sc.nextLine();
		String[] st = s.split(" ");

		int[] in = new int[3];
		for (int i = 0; i < 3; i++) {
			in[i] = Integer.parseInt(st[i]);
		}

		int x = 0;
		while (in[0] <= in[1]) {
			if (in[2] % in[0] == 0) {
				x++;
			}
			in[0]++;
		}
		System.out.println(x);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String s = sc.nextLine(); s sc.nextLine() sc.nextLine sc String[] st = s.split(" "); st s.split(" ") s.split s " " int[] in = new int[3]; in new int[3] 3 for (int i = 0; i < 3; i++) {
			in[i] = Integer.parseInt(st[i]);
		} int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
			in[i] = Integer.parseInt(st[i]);
		} {
			in[i] = Integer.parseInt(st[i]);
		} in[i] = Integer.parseInt(st[i]) in[i] in i Integer.parseInt(st[i]) Integer.parseInt Integer st[i] st i int x = 0; x 0 while (in[0] <= in[1]) {
			if (in[2] % in[0] == 0) {
				x++;
			}
			in[0]++;
		} in[0] <= in[1] in[0] in 0 in[1] in 1 {
			if (in[2] % in[0] == 0) {
				x++;
			}
			in[0]++;
		} if (in[2] % in[0] == 0) {
				x++;
			} in[2] % in[0] == 0 in[2] % in[0] in[2] in 2 in[0] in 0 0 {
				x++;
			} x++ x in[0]++ in[0] in 0 System.out.println(x) System.out.println System.out System System.out x String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.nextLine();
		String[] st = s.split(" ");

		int[] in = new int[3];
		for (int i = 0; i < 3; i++) {
			in[i] = Integer.parseInt(st[i]);
		}

		int x = 0;
		while (in[0] <= in[1]) {
			if (in[2] % in[0] == 0) {
				x++;
			}
			in[0]++;
		}
		System.out.println(x);
	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.nextLine();
		String[] st = s.split(" ");

		int[] in = new int[3];
		for (int i = 0; i < 3; i++) {
			in[i] = Integer.parseInt(st[i]);
		}

		int x = 0;
		while (in[0] <= in[1]) {
			if (in[2] % in[0] == 0) {
				x++;
			}
			in[0]++;
		}
		System.out.println(x);
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.nextLine();
		String[] st = s.split(" ");

		int[] in = new int[3];
		for (int i = 0; i < 3; i++) {
			in[i] = Integer.parseInt(st[i]);
		}

		int x = 0;
		while (in[0] <= in[1]) {
			if (in[2] % in[0] == 0) {
				x++;
			}
			in[0]++;
		}
		System.out.println(x);
	}

}