import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		scan.close();
		int count = 0;
		if (1 <= a && a <= 10000 && 1 <= b && b <= 10000 && 1 <= c && c <= 10000) {
			if (a <= b) {
				for (int i = a; i <= b; i++) {
					if (c % i == 0) {
						count++;
					}

				}
			}
		}
		System.out.println(count);

	}

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

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		scan.close();
		int count = 0;
		if (1 <= a && a <= 10000 && 1 <= b && b <= 10000 && 1 <= c && c <= 10000) {
			if (a <= b) {
				for (int i = a; i <= b; i++) {
					if (c % i == 0) {
						count++;
					}

				}
			}
		}
		System.out.println(count);

	}

} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		scan.close();
		int count = 0;
		if (1 <= a && a <= 10000 && 1 <= b && b <= 10000 && 1 <= c && c <= 10000) {
			if (a <= b) {
				for (int i = a; i <= b; i++) {
					if (c % i == 0) {
						count++;
					}

				}
			}
		}
		System.out.println(count);

	} main {
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		scan.close();
		int count = 0;
		if (1 <= a && a <= 10000 && 1 <= b && b <= 10000 && 1 <= c && c <= 10000) {
			if (a <= b) {
				for (int i = a; i <= b; i++) {
					if (c % i == 0) {
						count++;
					}

				}
			}
		}
		System.out.println(count);

	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan int b = scan.nextInt(); b scan.nextInt() scan.nextInt scan int c = scan.nextInt(); c scan.nextInt() scan.nextInt scan scan.close() scan.close scan int count = 0; count 0 if (1 <= a && a <= 10000 && 1 <= b && b <= 10000 && 1 <= c && c <= 10000) {
			if (a <= b) {
				for (int i = a; i <= b; i++) {
					if (c % i == 0) {
						count++;
					}

				}
			}
		} 1 <= a && a <= 10000 && 1 <= b && b <= 10000 && 1 <= c && c <= 10000 1 <= c b <= 10000 1 <= b 1 <= a && a <= 10000 && 1 <= b && b <= 10000 && 1 <= c && c <= 10000 1 <= a 1 a a <= 10000 a 10000 1 <= b 1 b b <= 10000 b 10000 1 <= c 1 c c <= 10000 c 10000 {
			if (a <= b) {
				for (int i = a; i <= b; i++) {
					if (c % i == 0) {
						count++;
					}

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

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

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

				} int i = a; int i = a; i a i <= b i b i++ i++ i {
					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 public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		scan.close();
		int count = 0;
		if (1 <= a && a <= 10000 && 1 <= b && b <= 10000 && 1 <= c && c <= 10000) {
			if (a <= b) {
				for (int i = a; i <= b; i++) {
					if (c % i == 0) {
						count++;
					}

				}
			}
		}
		System.out.println(count);

	}

} public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		scan.close();
		int count = 0;
		if (1 <= a && a <= 10000 && 1 <= b && b <= 10000 && 1 <= c && c <= 10000) {
			if (a <= b) {
				for (int i = a; i <= b; i++) {
					if (c % i == 0) {
						count++;
					}

				}
			}
		}
		System.out.println(count);

	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		scan.close();
		int count = 0;
		if (1 <= a && a <= 10000 && 1 <= b && b <= 10000 && 1 <= c && c <= 10000) {
			if (a <= b) {
				for (int i = a; i <= b; i++) {
					if (c % i == 0) {
						count++;
					}

				}
			}
		}
		System.out.println(count);

	}

}