import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] array = line.split(" ");
		int a = Integer.parseInt(array[0]);
		int b = Integer.parseInt(array[1]);
		int c = Integer.parseInt(array[2]);

		int result = 0;
		for (int i = a; i <= b; i++) {
			if (c % i == 0) {
				result++;

			}

		}
		System.out.println(result);

	}

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

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] array = line.split(" ");
		int a = Integer.parseInt(array[0]);
		int b = Integer.parseInt(array[1]);
		int c = Integer.parseInt(array[2]);

		int result = 0;
		for (int i = a; i <= b; i++) {
			if (c % i == 0) {
				result++;

			}

		}
		System.out.println(result);

	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] array = line.split(" ");
		int a = Integer.parseInt(array[0]);
		int b = Integer.parseInt(array[1]);
		int c = Integer.parseInt(array[2]);

		int result = 0;
		for (int i = a; i <= b; i++) {
			if (c % i == 0) {
				result++;

			}

		}
		System.out.println(result);

	} main {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] array = line.split(" ");
		int a = Integer.parseInt(array[0]);
		int b = Integer.parseInt(array[1]);
		int c = Integer.parseInt(array[2]);

		int result = 0;
		for (int i = a; i <= b; i++) {
			if (c % i == 0) {
				result++;

			}

		}
		System.out.println(result);

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String line = sc.nextLine(); line sc.nextLine() sc.nextLine sc String[] array = line.split(" "); array line.split(" ") line.split line " " int a = Integer.parseInt(array[0]); a Integer.parseInt(array[0]) Integer.parseInt Integer array[0] array 0 int b = Integer.parseInt(array[1]); b Integer.parseInt(array[1]) Integer.parseInt Integer array[1] array 1 int c = Integer.parseInt(array[2]); c Integer.parseInt(array[2]) Integer.parseInt Integer array[2] array 2 int result = 0; result 0 for (int i = a; i <= b; i++) {
			if (c % i == 0) {
				result++;

			}

		} int i = a; int i = a; i a i <= b i b i++ i++ i {
			if (c % i == 0) {
				result++;

			}

		} {
			if (c % i == 0) {
				result++;

			}

		} if (c % i == 0) {
				result++;

			} c % i == 0 c % i c i 0 {
				result++;

			} result++ result System.out.println(result) System.out.println System.out System System.out result String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] array = line.split(" ");
		int a = Integer.parseInt(array[0]);
		int b = Integer.parseInt(array[1]);
		int c = Integer.parseInt(array[2]);

		int result = 0;
		for (int i = a; i <= b; i++) {
			if (c % i == 0) {
				result++;

			}

		}
		System.out.println(result);

	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] array = line.split(" ");
		int a = Integer.parseInt(array[0]);
		int b = Integer.parseInt(array[1]);
		int c = Integer.parseInt(array[2]);

		int result = 0;
		for (int i = a; i <= b; i++) {
			if (c % i == 0) {
				result++;

			}

		}
		System.out.println(result);

	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] array = line.split(" ");
		int a = Integer.parseInt(array[0]);
		int b = Integer.parseInt(array[1]);
		int c = Integer.parseInt(array[2]);

		int result = 0;
		for (int i = a; i <= b; i++) {
			if (c % i == 0) {
				result++;

			}

		}
		System.out.println(result);

	}

}