import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		sc.useDelimiter("\\s");
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int x = 0;
		for (int i = a; b >= i; i++) {
			if (c % i == 0) {
				x++;
			}
		}
		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);
		sc.useDelimiter("\\s");
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int x = 0;
		for (int i = a; b >= i; i++) {
			if (c % i == 0) {
				x++;
			}
		}
		System.out.println(x);

	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		sc.useDelimiter("\\s");
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int x = 0;
		for (int i = a; b >= i; i++) {
			if (c % i == 0) {
				x++;
			}
		}
		System.out.println(x);

	} main {
		Scanner sc = new Scanner(System.in);
		sc.useDelimiter("\\s");
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int x = 0;
		for (int i = a; b >= i; i++) {
			if (c % i == 0) {
				x++;
			}
		}
		System.out.println(x);

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) sc.useDelimiter("\\s") sc.useDelimiter sc "\\s" int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc int c = sc.nextInt(); c sc.nextInt() sc.nextInt sc int x = 0; x 0 for (int i = a; b >= i; i++) {
			if (c % i == 0) {
				x++;
			}
		} int i = a; int i = a; i a b >= i b i i++ i++ i {
			if (c % i == 0) {
				x++;
			}
		} {
			if (c % i == 0) {
				x++;
			}
		} if (c % i == 0) {
				x++;
			} c % i == 0 c % i c i 0 {
				x++;
			} x++ x 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);
		sc.useDelimiter("\\s");
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int x = 0;
		for (int i = a; b >= i; i++) {
			if (c % i == 0) {
				x++;
			}
		}
		System.out.println(x);

	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		sc.useDelimiter("\\s");
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int x = 0;
		for (int i = a; b >= i; i++) {
			if (c % i == 0) {
				x++;
			}
		}
		System.out.println(x);

	}

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

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		sc.useDelimiter("\\s");
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int x = 0;
		for (int i = a; b >= i; i++) {
			if (c % i == 0) {
				x++;
			}
		}
		System.out.println(x);

	}

}