
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int num1 = scanner.nextInt();
		int num2 = scanner.nextInt();
		int num3 = scanner.nextInt();
		int count = 0;
		for (int i = num1; i <= num2; i++) {
			if (num3 % i == 0)
				count++;
		}
		System.out.println(count);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int num1 = scanner.nextInt();
		int num2 = scanner.nextInt();
		int num3 = scanner.nextInt();
		int count = 0;
		for (int i = num1; i <= num2; i++) {
			if (num3 % i == 0)
				count++;
		}
		System.out.println(count);
	}
} Main public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int num1 = scanner.nextInt();
		int num2 = scanner.nextInt();
		int num3 = scanner.nextInt();
		int count = 0;
		for (int i = num1; i <= num2; i++) {
			if (num3 % i == 0)
				count++;
		}
		System.out.println(count);
	} main {
		Scanner scanner = new Scanner(System.in);
		int num1 = scanner.nextInt();
		int num2 = scanner.nextInt();
		int num3 = scanner.nextInt();
		int count = 0;
		for (int i = num1; i <= num2; i++) {
			if (num3 % i == 0)
				count++;
		}
		System.out.println(count);
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int num1 = scanner.nextInt(); num1 scanner.nextInt() scanner.nextInt scanner int num2 = scanner.nextInt(); num2 scanner.nextInt() scanner.nextInt scanner int num3 = scanner.nextInt(); num3 scanner.nextInt() scanner.nextInt scanner int count = 0; count 0 for (int i = num1; i <= num2; i++) {
			if (num3 % i == 0)
				count++;
		} int i = num1; int i = num1; i num1 i <= num2 i num2 i++ i++ i {
			if (num3 % i == 0)
				count++;
		} {
			if (num3 % i == 0)
				count++;
		} if (num3 % i == 0)
				count++; num3 % i == 0 num3 % i num3 i 0 count++ count System.out.println(count) System.out.println System.out System System.out count String[] args args public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int num1 = scanner.nextInt();
		int num2 = scanner.nextInt();
		int num3 = scanner.nextInt();
		int count = 0;
		for (int i = num1; i <= num2; i++) {
			if (num3 % i == 0)
				count++;
		}
		System.out.println(count);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int num1 = scanner.nextInt();
		int num2 = scanner.nextInt();
		int num3 = scanner.nextInt();
		int count = 0;
		for (int i = num1; i <= num2; i++) {
			if (num3 % i == 0)
				count++;
		}
		System.out.println(count);
	}
} Main

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int num1 = scanner.nextInt();
		int num2 = scanner.nextInt();
		int num3 = scanner.nextInt();
		int count = 0;
		for (int i = num1; i <= num2; i++) {
			if (num3 % i == 0)
				count++;
		}
		System.out.println(count);
	}
}