import java.util.Scanner;

class Main{
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int a, b, c;
		int count = 0;
		a = scan.nextInt();
		b = scan.nextInt();
		c = scan.nextInt();

		if (a > b) {
			throw new RuntimeException("error:You must write a<=b");
		}
		if (a < 1 || 10000 < a || b < 1 || 10000 < b || c < 1 || 10000 < c) {
			throw new RuntimeException("error:You must write 1<=a,b,c<=10000");
		}
		for (int i = a; i <= b; i += 1) {
			if (c % i == 0) {
				count++;
			}
		}
		System.out.println(count);
	}
} import java.util.Scanner; Scanner java.util class Main{
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int a, b, c;
		int count = 0;
		a = scan.nextInt();
		b = scan.nextInt();
		c = scan.nextInt();

		if (a > b) {
			throw new RuntimeException("error:You must write a<=b");
		}
		if (a < 1 || 10000 < a || b < 1 || 10000 < b || c < 1 || 10000 < c) {
			throw new RuntimeException("error:You must write 1<=a,b,c<=10000");
		}
		for (int i = a; i <= b; i += 1) {
			if (c % i == 0) {
				count++;
			}
		}
		System.out.println(count);
	}
} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int a, b, c;
		int count = 0;
		a = scan.nextInt();
		b = scan.nextInt();
		c = scan.nextInt();

		if (a > b) {
			throw new RuntimeException("error:You must write a<=b");
		}
		if (a < 1 || 10000 < a || b < 1 || 10000 < b || c < 1 || 10000 < c) {
			throw new RuntimeException("error:You must write 1<=a,b,c<=10000");
		}
		for (int i = a; i <= b; i += 1) {
			if (c % i == 0) {
				count++;
			}
		}
		System.out.println(count);
	} main {
		Scanner scan = new Scanner(System.in);
		int a, b, c;
		int count = 0;
		a = scan.nextInt();
		b = scan.nextInt();
		c = scan.nextInt();

		if (a > b) {
			throw new RuntimeException("error:You must write a<=b");
		}
		if (a < 1 || 10000 < a || b < 1 || 10000 < b || c < 1 || 10000 < c) {
			throw new RuntimeException("error:You must write 1<=a,b,c<=10000");
		}
		for (int i = a; i <= b; i += 1) {
			if (c % i == 0) {
				count++;
			}
		}
		System.out.println(count);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int a a b b c; c int count = 0; count 0 a = scan.nextInt() a scan.nextInt() scan.nextInt scan b = scan.nextInt() b scan.nextInt() scan.nextInt scan c = scan.nextInt() c scan.nextInt() scan.nextInt scan if (a > b) {
			throw new RuntimeException("error:You must write a<=b");
		} a > b a b {
			throw new RuntimeException("error:You must write a<=b");
		} throw new RuntimeException("error:You must write a<=b"); new RuntimeException("error:You must write a<=b") if (a < 1 || 10000 < a || b < 1 || 10000 < b || c < 1 || 10000 < c) {
			throw new RuntimeException("error:You must write 1<=a,b,c<=10000");
		} a < 1 || 10000 < a || b < 1 || 10000 < b || c < 1 || 10000 < c c < 1 10000 < b b < 1 a < 1 || 10000 < a || b < 1 || 10000 < b || c < 1 || 10000 < c a < 1 a 1 10000 < a 10000 a b < 1 b 1 10000 < b 10000 b c < 1 c 1 10000 < c 10000 c {
			throw new RuntimeException("error:You must write 1<=a,b,c<=10000");
		} throw new RuntimeException("error:You must write 1<=a,b,c<=10000"); new RuntimeException("error:You must write 1<=a,b,c<=10000") for (int i = a; i <= b; i += 1) {
			if (c % i == 0) {
				count++;
			}
		} int i = a; int i = a; i a i <= b i b i += 1 i += 1 i 1 {
			if (c % i == 0) {
				count++;
			}
		} {
			if (c % i == 0) {
				count++;
			}
		} if (c % i == 0) {
				count++;
			} c % i == 0 c % i c i 0 {
				count++;
			} count++ count System.out.println(count) System.out.println System.out System System.out count String[] args args
import java.util.Scanner;

class Main{
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int a, b, c;
		int count = 0;
		a = scan.nextInt();
		b = scan.nextInt();
		c = scan.nextInt();

		if (a > b) {
			throw new RuntimeException("error:You must write a<=b");
		}
		if (a < 1 || 10000 < a || b < 1 || 10000 < b || c < 1 || 10000 < c) {
			throw new RuntimeException("error:You must write 1<=a,b,c<=10000");
		}
		for (int i = a; i <= b; i += 1) {
			if (c % i == 0) {
				count++;
			}
		}
		System.out.println(count);
	}
}