import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
        int g = 0;
        if (a >= 1 && b <= 10000 && c >= 1 && c <= 10000) {
            for (int d = 1; d <= c; d++) {
                int e = c / d;
                int f = c % d;

                if (f == 0 && e <= b && e >= a) {
                    g++;

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

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

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
        int g = 0;
        if (a >= 1 && b <= 10000 && c >= 1 && c <= 10000) {
            for (int d = 1; d <= c; d++) {
                int e = c / d;
                int f = c % d;

                if (f == 0 && e <= b && e >= a) {
                    g++;

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

    }
} Main public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
        int g = 0;
        if (a >= 1 && b <= 10000 && c >= 1 && c <= 10000) {
            for (int d = 1; d <= c; d++) {
                int e = c / d;
                int f = c % d;

                if (f == 0 && e <= b && e >= a) {
                    g++;

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

    } main {
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
        int g = 0;
        if (a >= 1 && b <= 10000 && c >= 1 && c <= 10000) {
            for (int d = 1; d <= c; d++) {
                int e = c / d;
                int f = c % d;

                if (f == 0 && e <= b && e >= a) {
                    g++;

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

    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int a = scanner.nextInt(); a scanner.nextInt() scanner.nextInt scanner int b = scanner.nextInt(); b scanner.nextInt() scanner.nextInt scanner int c = scanner.nextInt(); c scanner.nextInt() scanner.nextInt scanner int g = 0; g 0 if (a >= 1 && b <= 10000 && c >= 1 && c <= 10000) {
            for (int d = 1; d <= c; d++) {
                int e = c / d;
                int f = c % d;

                if (f == 0 && e <= b && e >= a) {
                    g++;

                }
            }
            System.out.println(g);
        } a >= 1 && b <= 10000 && c >= 1 && c <= 10000 c >= 1 a >= 1 && b <= 10000 && c >= 1 && c <= 10000 a >= 1 a 1 b <= 10000 b 10000 c >= 1 c 1 c <= 10000 c 10000 {
            for (int d = 1; d <= c; d++) {
                int e = c / d;
                int f = c % d;

                if (f == 0 && e <= b && e >= a) {
                    g++;

                }
            }
            System.out.println(g);
        } for (int d = 1; d <= c; d++) {
                int e = c / d;
                int f = c % d;

                if (f == 0 && e <= b && e >= a) {
                    g++;

                }
            } int d = 1; int d = 1; d 1 d <= c d c d++ d++ d {
                int e = c / d;
                int f = c % d;

                if (f == 0 && e <= b && e >= a) {
                    g++;

                }
            } {
                int e = c / d;
                int f = c % d;

                if (f == 0 && e <= b && e >= a) {
                    g++;

                }
            } int e = c / d; e c / d c d int f = c % d; f c % d c d if (f == 0 && e <= b && e >= a) {
                    g++;

                } f == 0 && e <= b && e >= a f == 0 && e <= b && e >= a f == 0 f 0 e <= b e b e >= a e a {
                    g++;

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

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
        int g = 0;
        if (a >= 1 && b <= 10000 && c >= 1 && c <= 10000) {
            for (int d = 1; d <= c; d++) {
                int e = c / d;
                int f = c % d;

                if (f == 0 && e <= b && e >= a) {
                    g++;

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

    }
} public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
        int g = 0;
        if (a >= 1 && b <= 10000 && c >= 1 && c <= 10000) {
            for (int d = 1; d <= c; d++) {
                int e = c / d;
                int f = c % d;

                if (f == 0 && e <= b && e >= a) {
                    g++;

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

    }
} Main
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
        int g = 0;
        if (a >= 1 && b <= 10000 && c >= 1 && c <= 10000) {
            for (int d = 1; d <= c; d++) {
                int e = c / d;
                int f = c % d;

                if (f == 0 && e <= b && e >= a) {
                    g++;

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

    }
}